Meta-information for a network packet . More...
#include <wipal/pcap/pkt.hh>
Public Member Functions | |
metadata (unsigned id, unsigned ts_sec, unsigned ts_usec, size_t caplen, size_t len) | |
bool | operator== (const metadata &) const |
bool | operator!= (const metadata &) const |
Public Attributes | |
unsigned | id |
struct timeval | ts |
size_t | caplen |
size_t | len |
Meta-information for a network packet .
A metadata object holds information regarding a frame/packet that is not directly embedded inside the frame/packet's bytes.