hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/uapi/linux/tc_act/tc_vlan.h
....@@ -13,11 +13,11 @@
1313
1414 #include <linux/pkt_cls.h>
1515
16
-#define TCA_ACT_VLAN 12
17
-
1816 #define TCA_VLAN_ACT_POP 1
1917 #define TCA_VLAN_ACT_PUSH 2
2018 #define TCA_VLAN_ACT_MODIFY 3
19
+#define TCA_VLAN_ACT_POP_ETH 4
20
+#define TCA_VLAN_ACT_PUSH_ETH 5
2121
2222 struct tc_vlan {
2323 tc_gen;
....@@ -32,6 +32,8 @@
3232 TCA_VLAN_PUSH_VLAN_PROTOCOL,
3333 TCA_VLAN_PAD,
3434 TCA_VLAN_PUSH_VLAN_PRIORITY,
35
+ TCA_VLAN_PUSH_ETH_DST,
36
+ TCA_VLAN_PUSH_ETH_SRC,
3537 __TCA_VLAN_MAX,
3638 };
3739 #define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1)