P4C
The P4 Compiler
Loading...
Searching...
No Matches
pcap_pkt Struct Reference

#include <pcap_util.h>

Public Attributes

char * data
 
iface_index ifindex
 
struct pcap_pkthdr pcap_hdr
 

Detailed Description

A network packet. contains packet content, timestamp and the interface where the packet has been received/sent.

Member Data Documentation

◆ data

char* pcap_pkt::data

◆ ifindex

iface_index pcap_pkt::ifindex

◆ pcap_hdr

struct pcap_pkthdr pcap_pkt::pcap_hdr