#include <wipal/pcap/simple_types.hh>
Public Attributes | |
unsigned | id |
bool | swapped |
struct timeval | ts |
size_t | caplen |
size_t | len |
A PCAP header holds information regarding a frame/packet that are not directly embedded inside the frame/packet's bytes.
unsigned pcapxx::pkthdr::id |
Frame/packet's position inside the trace.
Endianness of this frame's data.
struct timeval pcapxx::pkthdr::ts [read] |
Time of arrival.
size_t pcapxx::pkthdr::caplen |
Number of captured bytes.
size_t pcapxx::pkthdr::len |
Length of the frame/packet.