• Linus Lüssing's avatar
    bridge: add export of multicast database adjacent to net_dev · 07f8ac4a
    Linus Lüssing authored
    With this new, exported function br_multicast_list_adjacent(net_dev) a
    list of IPv4/6 addresses is returned. This list contains all multicast
    addresses sensed by the bridge multicast snooping feature on all bridge
    ports of the bridge interface of net_dev, excluding addresses from the
    specified net_device itself.
    
    Adding bridge support to the batman-adv multicast optimization requires
    batman-adv knowing about the existence of bridged-in multicast
    listeners to be able to reliably serve them with multicast packets.
    Signed-off-by: default avatarLinus Lüssing <linus.luessing@web.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    07f8ac4a
br_multicast.c 48.5 KB