struct te_pcap_pkthdr

Overview

PCAP packet header More…

#include <te_sniffers.h>

struct te_pcap_pkthdr {
    // fields

    te_ts_t ts;
    uint32_t caplen;
    uint32_t len;
};

Detailed Documentation

PCAP packet header

Fields

te_ts_t ts

time stamp

uint32_t caplen

length of portion present

uint32_t len

length this packet (off wire)