diff options
Diffstat (limited to 'include/arch/x86_64/linux/if_bridge.h')
| -rw-r--r-- | include/arch/x86_64/linux/if_bridge.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/include/arch/x86_64/linux/if_bridge.h b/include/arch/x86_64/linux/if_bridge.h index 141b1bdb..8650d78e 100644 --- a/include/arch/x86_64/linux/if_bridge.h +++ b/include/arch/x86_64/linux/if_bridge.h @@ -127,15 +127,17 @@ enum { }; #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1) -#define BRIDGE_VLAN_INFO_MASTER (1 << 0) /* Operate on Bridge device as well \ - */ -#define BRIDGE_VLAN_INFO_PVID (1 << 1) /* VLAN is PVID, ingress untagged */ -#define BRIDGE_VLAN_INFO_UNTAGGED (1 << 2) /* VLAN egresses untagged */ -#define BRIDGE_VLAN_INFO_RANGE_BEGIN (1 << 3) /* VLAN is start of vlan range \ - */ -#define BRIDGE_VLAN_INFO_RANGE_END (1 << 4) /* VLAN is end of vlan range */ -#define BRIDGE_VLAN_INFO_BRENTRY (1 << 5) /* Global bridge VLAN entry */ -#define BRIDGE_VLAN_INFO_ONLY_OPTS (1 << 6) /* Skip create/delete/flags */ +#define BRIDGE_VLAN_INFO_MASTER \ + (1 << 0) /* Operate on Bridge device as well \ + */ +#define BRIDGE_VLAN_INFO_PVID (1 << 1) /* VLAN is PVID, ingress untagged */ +#define BRIDGE_VLAN_INFO_UNTAGGED (1 << 2) /* VLAN egresses untagged */ +#define BRIDGE_VLAN_INFO_RANGE_BEGIN \ + (1 << 3) /* VLAN is start of vlan range \ + */ +#define BRIDGE_VLAN_INFO_RANGE_END (1 << 4) /* VLAN is end of vlan range */ +#define BRIDGE_VLAN_INFO_BRENTRY (1 << 5) /* Global bridge VLAN entry */ +#define BRIDGE_VLAN_INFO_ONLY_OPTS (1 << 6) /* Skip create/delete/flags */ struct bridge_vlan_info { __u16 flags; @@ -498,9 +500,10 @@ enum { #define BRIDGE_VLANDB_DUMP_MAX (__BRIDGE_VLANDB_DUMP_MAX - 1) /* flags used in BRIDGE_VLANDB_DUMP_FLAGS attribute to affect dumps */ -#define BRIDGE_VLANDB_DUMPF_STATS (1 << 0) /* Include stats in the dump */ -#define BRIDGE_VLANDB_DUMPF_GLOBAL (1 << 1) /* Dump global vlan options only \ - */ +#define BRIDGE_VLANDB_DUMPF_STATS (1 << 0) /* Include stats in the dump */ +#define BRIDGE_VLANDB_DUMPF_GLOBAL \ + (1 << 1) /* Dump global vlan options only \ + */ /* Bridge vlan RTM attributes * [BRIDGE_VLANDB_ENTRY] = { |
