bridge: Add multicast_router sysfs entries
This patch allows the user to forcibly enable/disable ports as having multicast routers attached. A port with a multicast router will receive all multicast traffic. The value 0 disables it completely. The default is 1 which lets the system automatically detect the presence of routers (currently this is limited to picking up queries), and 2 means that the port will always receive all multicast traffic. Signed-off-by:Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/bridge/br_multicast.c 91 additions, 14 deletionsnet/bridge/br_multicast.c
- net/bridge/br_private.h 3 additions, 0 deletionsnet/bridge/br_private.h
- net/bridge/br_sysfs_br.c 21 additions, 0 deletionsnet/bridge/br_sysfs_br.c
- net/bridge/br_sysfs_if.c 18 additions, 0 deletionsnet/bridge/br_sysfs_if.c
Loading
Please register or sign in to comment