mediatek: fix wps button for nokia ea0326gmp
[openwrt/staging/pepe2k.git] / package / network / utils / xdp-tools / patches / 021-headers-xdp-drop-vlan_hdr-as-already-defined.patch
1 From bc2a11227b5bed29d33926d5ff7e707228db9e87 Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Wed, 18 Jan 2023 20:07:58 +0100
4 Subject: [PATCH] headers: xdp: drop vlan_hdr as already defined
5
6 Drop vlan_hdr as already defined by bpf headers.
7
8 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 ---
10 headers/xdp/parsing_helpers.h | 10 ----------
11 1 file changed, 10 deletions(-)
12
13 --- a/headers/xdp/parsing_helpers.h
14 +++ b/headers/xdp/parsing_helpers.h
15 @@ -33,16 +33,6 @@ struct hdr_cursor {
16 };
17
18 /*
19 - * struct vlan_hdr - vlan header
20 - * @h_vlan_TCI: priority and VLAN ID
21 - * @h_vlan_encapsulated_proto: packet type ID or len
22 - */
23 -struct vlan_hdr {
24 - __be16 h_vlan_TCI;
25 - __be16 h_vlan_encapsulated_proto;
26 -};
27 -
28 -/*
29 * Struct icmphdr_common represents the common part of the icmphdr and icmp6hdr
30 * structures.
31 */