#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.
Referenced by pcapxx::frame_descriptor::frame_descriptor().
Endianness of this frame's data.
Referenced by wifi::frame::dissect(), phy::header< Bottom >::eq_80211(), pcapxx::frame_descriptor::frame_descriptor(), and wifi::mactime_tracker< Bottom >::tick().
struct timeval pcapxx::pkthdr::ts [read] |
Time of arrival.
Referenced by pcapxx::frame_descriptor::frame_descriptor(), wit::importer::handle_time_data(), and pcapxx::dumper::operator()().
size_t pcapxx::pkthdr::caplen |
Number of captured bytes.
Referenced by wifi::frame::dissect(), phy::header< Bottom >::eq_80211(), pcapxx::frame_descriptor::frame_descriptor(), wit::importer::operator()(), pcapxx::dumper::operator()(), and wifi::mactime_tracker< Bottom >::tick().
size_t pcapxx::pkthdr::len |
Length of the frame/packet.
Referenced by pcapxx::frame_descriptor::frame_descriptor(), and pcapxx::dumper::operator()().