ark::pcap::ParsedPcapPacket

Defined in header “ark/pcap/pcap_parser.hh”.


Contains information on the raw USB information that was parsed from the packet.

Methods

  • ParsedPcapPacket deep_copy()
    Makes a ‘deep copy’ of this packet. Useful for when you want to hold onto this buffer for a while.

Variables

  • std::chrono::steady_clock::time_point timestamp
    The timestamp on the data.

  • uint64_t sequence_number= 0
    The sequence number of this packet, coming from the order in which it was read from the underlying pcap file.

  • std::variant< ParsedPcapNetworkHeader, ParsedPcapUsbHeader, ParsedPcapSocketCanHeader > header
    Contains either a USB or IP packet header.

  • core::ByteBuffer buffer
    A byte buffer containing the raw data.