| ... | @@ -6942,10 +6942,6 @@ pub const tpacket_hdr_variant1 = extern struct { | ... | @@ -6942,10 +6942,6 @@ pub const tpacket_hdr_variant1 = extern struct { |
| 6942 | padding: u16, | 6942 | padding: u16, |
| 6943 | }; | 6943 | }; |
| 6944 | | 6944 | |
| 6945 | pub const tpacket3_hdr_variants = extern union { | | |
| 6946 | hv1: tpacket_hdr_variant1, | | |
| 6947 | }; | | |
| 6948 | | | |
| 6949 | pub const tpacket3_hdr = extern struct { | 6945 | pub const tpacket3_hdr = extern struct { |
| 6950 | next_offset: u32, | 6946 | next_offset: u32, |
| 6951 | sec: u32, | 6947 | sec: u32, |
| ... | @@ -6955,7 +6951,9 @@ pub const tpacket3_hdr = extern struct { | ... | @@ -6955,7 +6951,9 @@ pub const tpacket3_hdr = extern struct { |
| 6955 | status: u32, | 6951 | status: u32, |
| 6956 | mac: u16, | 6952 | mac: u16, |
| 6957 | net: u16, | 6953 | net: u16, |
| 6958 | variant: tpacket3_hdr_variants, | 6954 | variant: extern union { |
| | 6955 | hv1: tpacket_hdr_variant1, |
| | 6956 | }, |
| 6959 | padding: [8]u8, | 6957 | padding: [8]u8, |
| 6960 | }; | 6958 | }; |
| 6961 | | 6959 | |