]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_packet.h
[PATCH] sysctl: factor out sysctl_head_next from do_sysctl
[linux-2.6-omap-h63xx.git] / include / linux / if_packet.h
index 99393ef3af394b8bfd411ec65d95b4bd7c815191..f3de05c306785c5fe8e6c50f4ac474faf8191531 100644 (file)
@@ -41,6 +41,7 @@ struct sockaddr_ll
 #define PACKET_RX_RING                 5
 #define PACKET_STATISTICS              6
 #define PACKET_COPY_THRESH             7
+#define PACKET_AUXDATA                 8
 
 struct tpacket_stats
 {
@@ -48,6 +49,15 @@ struct tpacket_stats
        unsigned int    tp_drops;
 };
 
+struct tpacket_auxdata
+{
+       __u32           tp_status;
+       __u32           tp_len;
+       __u32           tp_snaplen;
+       __u16           tp_mac;
+       __u16           tp_net;
+};
+
 struct tpacket_hdr
 {
        unsigned long   tp_status;