]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_packet.h
ide: make ide_pci_check_iomem() actually work
[linux-2.6-omap-h63xx.git] / include / linux / if_packet.h
index 99393ef3af394b8bfd411ec65d95b4bd7c815191..ad09609227ffa28dad825e27266fc41e0edded7d 100644 (file)
@@ -41,6 +41,8 @@ struct sockaddr_ll
 #define PACKET_RX_RING                 5
 #define PACKET_STATISTICS              6
 #define PACKET_COPY_THRESH             7
+#define PACKET_AUXDATA                 8
+#define PACKET_ORIGDEV                 9
 
 struct tpacket_stats
 {
@@ -48,6 +50,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;