diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2021-05-15 17:22:08 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2021-05-30 13:38:27 +0200 |
commit | 7a68cc16b82c963c096387917ced11a27c352261 (patch) | |
tree | 1156edaf159c1d8e537a69e265cc6e8ccd810cd5 /net/lapb/lapb_iface.c | |
parent | 4cbf055002c53c364d1b3275792e4487af76dd2d (diff) | |
download | linux-7a68cc16b82c963c096387917ced11a27c352261.tar.gz linux-7a68cc16b82c963c096387917ced11a27c352261.tar.bz2 linux-7a68cc16b82c963c096387917ced11a27c352261.zip |
batman-adv: mcast: add MRD + routable IPv4 multicast with bridges support
This adds support for routable IPv4 multicast addresses
(224.0.0.0/4, excluding 224.0.0.0/24) in bridged setups.
This utilizes the Multicast Router Discovery (MRD, RFC4286) support
in the Linux bridge. batman-adv will now query the Linux bridge for
IPv4 multicast routers, which the bridge has previously learned about
via MRD.
This allows us to then safely send routable IPv4 multicast packets in
bridged setups to multicast listeners and multicast routers only. Before
we had to flood such packets to avoid potential multicast packet loss to
IPv4 multicast routers, which we were not able to detect before.
With the bridge MRD integration, we are now also able to perform more
fine-grained detection of IPv6 multicast routers in bridged setups:
Before we were "guessing" IPv6 multicast routers by looking up multicast
listeners for the link-local All Routers multicast address (ff02::2),
which every IPv6 multicast router is listening to. However this would
also include more nodes than necessary: For instance nodes which are
just a router for unicast, but not multicast would be included, too.
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions