1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_IF_VLAN_H_
13 #define _LINUX_IF_VLAN_H_
15 enum vlan_ioctl_cmds {
18 SET_VLAN_INGRESS_PRIORITY_CMD,
19 SET_VLAN_EGRESS_PRIORITY_CMD,
20 GET_VLAN_INGRESS_PRIORITY_CMD,
21 GET_VLAN_EGRESS_PRIORITY_CMD,
22 SET_VLAN_NAME_TYPE_CMD,
24 GET_VLAN_REALDEV_NAME_CMD,
28 enum vlan_name_types {
29 VLAN_NAME_TYPE_PLUS_VID,
30 VLAN_NAME_TYPE_RAW_PLUS_VID,
31 VLAN_NAME_TYPE_PLUS_VID_NO_PAD,
32 VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD,
33 VLAN_NAME_TYPE_HIGHEST
36 struct vlan_ioctl_args {
43 unsigned int skb_priority;
44 unsigned int name_type;
45 unsigned int bind_type;