aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_vlan.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-13 15:07:37 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 01:15:02 -0400
commita4bf3af4ac46802436d352ef409cee4fe80445b3 (patch)
treee03e7ceb21ff17d886485c9b137f8a47c1b58c56 /include/linux/if_vlan.h
parentb020cb488586f982f40eb257a32e92a4de710d65 (diff)
[VLAN]: Introduce symbolic constants for flag values
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_vlan.h')
-rw-r--r--include/linux/if_vlan.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index b46d4225f74..c7912876a21 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
@@ -398,6 +398,10 @@ enum vlan_ioctl_cmds {
398 GET_VLAN_VID_CMD /* Get the VID of this VLAN (specified by name) */ 398 GET_VLAN_VID_CMD /* Get the VID of this VLAN (specified by name) */
399}; 399};
400 400
401enum vlan_flags {
402 VLAN_FLAG_REORDER_HDR = 0x1,
403};
404
401enum vlan_name_types { 405enum vlan_name_types {
402 VLAN_NAME_TYPE_PLUS_VID, /* Name will look like: vlan0005 */ 406 VLAN_NAME_TYPE_PLUS_VID, /* Name will look like: vlan0005 */
403 VLAN_NAME_TYPE_RAW_PLUS_VID, /* name will look like: eth1.0005 */ 407 VLAN_NAME_TYPE_RAW_PLUS_VID, /* name will look like: eth1.0005 */