diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_packet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_packet.h b/include/linux/if_packet.h index d4d3c82448f5..a630295b255f 100644 --- a/include/linux/if_packet.h +++ b/include/linux/if_packet.h | |||
@@ -59,6 +59,7 @@ struct tpacket_auxdata | |||
59 | __u32 tp_snaplen; | 59 | __u32 tp_snaplen; |
60 | __u16 tp_mac; | 60 | __u16 tp_mac; |
61 | __u16 tp_net; | 61 | __u16 tp_net; |
62 | __u16 tp_vlan_tci; | ||
62 | }; | 63 | }; |
63 | 64 | ||
64 | struct tpacket_hdr | 65 | struct tpacket_hdr |
@@ -90,6 +91,7 @@ struct tpacket2_hdr | |||
90 | __u16 tp_net; | 91 | __u16 tp_net; |
91 | __u32 tp_sec; | 92 | __u32 tp_sec; |
92 | __u32 tp_nsec; | 93 | __u32 tp_nsec; |
94 | __u16 tp_vlan_tci; | ||
93 | }; | 95 | }; |
94 | 96 | ||
95 | #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll)) | 97 | #define TPACKET2_HDRLEN (TPACKET_ALIGN(sizeof(struct tpacket2_hdr)) + sizeof(struct sockaddr_ll)) |