ark::pcap

Classes

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.