1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
6 #ifndef __LINUX_TC_VLAN_H
7 #define __LINUX_TC_VLAN_H
9 #include <linux/pkt_cls.h>
11 #define TCA_VLAN_ACT_POP 1
12 #define TCA_VLAN_ACT_PUSH 2
13 #define TCA_VLAN_ACT_MODIFY 3
14 #define TCA_VLAN_ACT_POP_ETH 4
15 #define TCA_VLAN_ACT_PUSH_ETH 5
26 TCA_VLAN_PUSH_VLAN_ID
,
27 TCA_VLAN_PUSH_VLAN_PROTOCOL
,
29 TCA_VLAN_PUSH_VLAN_PRIORITY
,
30 TCA_VLAN_PUSH_ETH_DST
,
31 TCA_VLAN_PUSH_ETH_SRC
,
34 #define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1)