diff options
Diffstat (limited to 'include/uapi/linux/if_packet.h')
-rw-r--r-- | include/uapi/linux/if_packet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/if_packet.h b/include/uapi/linux/if_packet.h index 1e24aa701cbd..9185dc9a4485 100644 --- a/include/uapi/linux/if_packet.h +++ b/include/uapi/linux/if_packet.h | |||
@@ -133,7 +133,7 @@ struct tpacket2_hdr { | |||
133 | __u32 tp_sec; | 133 | __u32 tp_sec; |
134 | __u32 tp_nsec; | 134 | __u32 tp_nsec; |
135 | __u16 tp_vlan_tci; | 135 | __u16 tp_vlan_tci; |
136 | __u16 tp_padding; | 136 | __u8 tp_padding[6]; |
137 | }; | 137 | }; |
138 | 138 | ||
139 | struct tpacket_hdr_variant1 { | 139 | struct tpacket_hdr_variant1 { |
@@ -154,6 +154,7 @@ struct tpacket3_hdr { | |||
154 | union { | 154 | union { |
155 | struct tpacket_hdr_variant1 hv1; | 155 | struct tpacket_hdr_variant1 hv1; |
156 | }; | 156 | }; |
157 | __u8 tp_padding[12]; | ||
157 | }; | 158 | }; |
158 | 159 | ||
159 | struct tpacket_bd_ts { | 160 | struct tpacket_bd_ts { |