ark::pcap::PcapPublisherStage

Defined in header “ark/pcap/stages/pcap_publisher_stage.hh”.


This stage will read a PCAP file and then publish its contents out as if they were incoming TCP, UDP, or USB packets.

Methods

  • PcapPublisherStage(std::string name)
    Constructor. Initializes from a log reader stage configuration.

  • ~PcapPublisherStage()
    Destructor.

  • void initialize(pipeline::StageInterface & interface)
    Called from the executor when we are initialized.

  • void add_arguments(ark::core::ArgumentParser & parser)
    Called to give us a chance to add our own command line arguments.