diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if_bridge.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index 5db297514aec..3ca9817ca7e8 100644 --- a/include/uapi/linux/if_bridge.h +++ b/include/uapi/linux/if_bridge.h | |||
| @@ -108,15 +108,24 @@ struct __fdb_entry { | |||
| 108 | * [IFLA_AF_SPEC] = { | 108 | * [IFLA_AF_SPEC] = { |
| 109 | * [IFLA_BRIDGE_FLAGS] | 109 | * [IFLA_BRIDGE_FLAGS] |
| 110 | * [IFLA_BRIDGE_MODE] | 110 | * [IFLA_BRIDGE_MODE] |
| 111 | * [IFLA_BRIDGE_VLAN_INFO] | ||
| 111 | * } | 112 | * } |
| 112 | */ | 113 | */ |
| 113 | enum { | 114 | enum { |
| 114 | IFLA_BRIDGE_FLAGS, | 115 | IFLA_BRIDGE_FLAGS, |
| 115 | IFLA_BRIDGE_MODE, | 116 | IFLA_BRIDGE_MODE, |
| 117 | IFLA_BRIDGE_VLAN_INFO, | ||
| 116 | __IFLA_BRIDGE_MAX, | 118 | __IFLA_BRIDGE_MAX, |
| 117 | }; | 119 | }; |
| 118 | #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1) | 120 | #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1) |
| 119 | 121 | ||
| 122 | #define BRIDGE_VLAN_INFO_MASTER (1<<0) /* Operate on Bridge device as well */ | ||
| 123 | |||
| 124 | struct bridge_vlan_info { | ||
| 125 | u16 flags; | ||
| 126 | u16 vid; | ||
| 127 | }; | ||
| 128 | |||
| 120 | /* Bridge multicast database attributes | 129 | /* Bridge multicast database attributes |
| 121 | * [MDBA_MDB] = { | 130 | * [MDBA_MDB] = { |
| 122 | * [MDBA_MDB_ENTRY] = { | 131 | * [MDBA_MDB_ENTRY] = { |
