1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
11 #ifndef __LINUX_TC_VLAN_H
12 #define __LINUX_TC_VLAN_H
14 #include <linux/pkt_cls.h>
16 #define TCA_ACT_VLAN 12
18 #define TCA_VLAN_ACT_POP 1
19 #define TCA_VLAN_ACT_PUSH 2
20 #define TCA_VLAN_ACT_MODIFY 3
31 TCA_VLAN_PUSH_VLAN_ID,
32 TCA_VLAN_PUSH_VLAN_PROTOCOL,
34 TCA_VLAN_PUSH_VLAN_PRIORITY,
37 #define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1)