History

net: bridge: vlan: add support for mcast router global option

Add support to change and retrieve global vlan multicast router state which is used for the bridge itself. We just need to pass multicast context to br_multicast_set_router instead of bridge device and the rest of the logic remains the same.

Nikolay Aleksandrov committed 5 years ago

Commit a97df081 parent 62938186 files · +25 −10Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/if_bridge.h+1−0
@@ -561,6 +561,7 @@ enum { · 560 unmodified lines
561 BRIDGE_VLANDB_GOPTS_MCAST_QUERY_RESPONSE_INTVL,561 BRIDGE_VLANDB_GOPTS_MCAST_QUERY_RESPONSE_INTVL,
562 BRIDGE_VLANDB_GOPTS_MCAST_STARTUP_QUERY_INTVL,562 BRIDGE_VLANDB_GOPTS_MCAST_STARTUP_QUERY_INTVL,
563 BRIDGE_VLANDB_GOPTS_MCAST_QUERIER,563 BRIDGE_VLANDB_GOPTS_MCAST_QUERIER,
564 BRIDGE_VLANDB_GOPTS_MCAST_ROUTER,
564 __BRIDGE_VLANDB_GOPTS_MAX565 __BRIDGE_VLANDB_GOPTS_MAX
565};566};
566#define BRIDGE_VLANDB_GOPTS_MAX (__BRIDGE_VLANDB_GOPTS_MAX - 1)567#define BRIDGE_VLANDB_GOPTS_MAX (__BRIDGE_VLANDB_GOPTS_MAX - 1)