ark::pcap
Classes
-
ark::pcap::PacketBuffer
This class will take raw PCAP packets and sort them in time order. Useful to return packets in a PCAP file in time order without loading the entire file. -
ark::pcap::PcapParser
This is capable of loading a pcap file and then stepping through it, returning the network packets that were read. -
ark::pcap::PcapPublisherStage
This stage will read a PCAP file and then publish its contents out as if they were incoming TCP, UDP, or USB packets. -
ark::pcap::ParsedPcapNetworkHeader
Contains information on the raw IP information that was parsed from the packet. -
ark::pcap::ParsedPcapPacket
Contains information on the raw USB information that was parsed from the packet. -
ark::pcap::ParsedPcapSocketCanHeader
Contains header information related to a SocketCAN packet. -
ark::pcap::ParsedPcapUsbHeader
Contains information on the raw USB information that was parsed from the packet. -
ark::pcap::PcapParserStatistics
Statistics related to the PCAP parser.
Functions
Declared in “ark/pcap/conversion.hh”:
-
comms::UdpPacket to_udp_packet(const ParsedPcapPacket & packet)
Converts the given PCAP packet into a UDP packet, if possible. Throws if the packet is an unsuitable type. -
comms::TcpPacket to_tcp_packet(const ParsedPcapPacket & packet)
Converts the given PCAP packet into a TCP packet, if possible. Throws if the packet is an unsuitable type.