Thread (8 messages) flat view 8 messages, 4 authors, 2011-07-18

Re: [PATCH net-next v3 af-packet 1/2] Enhance af-packet to provide (near zero)lossless packet capture functionality.

From: Eric Dumazet <hidden>
Date: 2011-07-18 06:38:38

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 ?

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help