Le dimanche 17 juillet 2011 à 23:26 -0400, Chetan Loke a écrit :
Signed-off-by: Chetan Loke <redacted>
---
include/linux/if_packet.h | 125 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 125 insertions(+), 0 deletions(-)
+struct tpacket3_hdr {
+ __u32 tp_status;
+ __u32 tp_next_offset;
+ __u32 tp_len;
+ __u32 tp_snaplen;
+ __u16 tp_mac;
+ __u16 tp_net;
+ __u32 tp_sec;
+ __u32 tp_nsec;
+ __u32 tp_rxhash;
+ __u16 tp_vlan_tci;
+ __u16 tp_padding;
+ __u32 tp_next_offset;
+};
Srange, I see tp_next_offset twice in tpacket3_hdr ?