peapod  0.1.0
EAPOL Proxy Daemon
Data Fields
packet_auxdata_t Struct Reference

A redefinition of struct tpacket_auxdata from <linux/if_packet.h>. More...

#include "packet.h"

Data Fields

__u32 tp_status
 
__u32 tp_len
 
__u32 tp_snaplen
 
__u16 tp_mac
 
__u16 tp_net
 
__u16 tp_vlan_tci
 
__u16 tp_vlan_tpid
 

Detailed Description

A redefinition of struct tpacket_auxdata from <linux/if_packet.h>.

We request a struct tpacket_auxdata from the kernel but interpret it as a struct packet_auxdata_t to (theoretically) allow compilation on earlier versions of Linux, as the tp_vlan_tpid member is called tp_padding in Linux <3.14.

See also
packet(7)

Field Documentation

__u32 packet_auxdata_t::tp_status
__u32 packet_auxdata_t::tp_len
__u32 packet_auxdata_t::tp_snaplen
__u16 packet_auxdata_t::tp_mac
__u16 packet_auxdata_t::tp_net
__u16 packet_auxdata_t::tp_vlan_tci
__u16 packet_auxdata_t::tp_vlan_tpid

The documentation for this struct was generated from the following file: