diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-13 15:07:37 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 01:15:02 -0400 |
commit | a4bf3af4ac46802436d352ef409cee4fe80445b3 (patch) | |
tree | e03e7ceb21ff17d886485c9b137f8a47c1b58c56 /include/linux | |
parent | b020cb488586f982f40eb257a32e92a4de710d65 (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')
-rw-r--r-- | include/linux/if_vlan.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index b46d4225f74e..c7912876a210 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 | ||
401 | enum vlan_flags { | ||
402 | VLAN_FLAG_REORDER_HDR = 0x1, | ||
403 | }; | ||
404 | |||
401 | enum vlan_name_types { | 405 | enum 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 */ |