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.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -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_MAX | 565 | __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) |