peapod
0.1.0
EAPOL Proxy Daemon
|
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 |
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.
__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 |