aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/icmpv6.h
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@c0d3.blue>2019-01-21 07:26:28 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-22 17:18:09 -0800
commit4b3087c7e37f9e499127201849e33960dc81da11 (patch)
tree01fb05eabe24132c0fa596c8cf7a536fffda134d /include/uapi/linux/icmpv6.h
parentbridge: join all-snoopers multicast address (diff)
downloadwireguard-linux-4b3087c7e37f9e499127201849e33960dc81da11.tar.xz
wireguard-linux-4b3087c7e37f9e499127201849e33960dc81da11.zip
bridge: Snoop Multicast Router Advertisements
When multiple multicast routers are present in a broadcast domain then only one of them will be detectable via IGMP/MLD query snooping. The multicast router with the lowest IP address will become the selected and active querier while all other multicast routers will then refrain from sending queries. To detect such rather silent multicast routers, too, RFC4286 ("Multicast Router Discovery") provides a standardized protocol to detect multicast routers for multicast snooping switches. This patch implements the necessary MRD Advertisement message parsing and after successful processing adds such routers to the internal multicast router list. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/icmpv6.h')
-rw-r--r--include/uapi/linux/icmpv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/icmpv6.h b/include/uapi/linux/icmpv6.h
index caf8dc019250..325395f56bfa 100644
--- a/include/uapi/linux/icmpv6.h
+++ b/include/uapi/linux/icmpv6.h
@@ -108,6 +108,8 @@ struct icmp6hdr {
#define ICMPV6_MOBILE_PREFIX_SOL 146
#define ICMPV6_MOBILE_PREFIX_ADV 147
+#define ICMPV6_MRDISC_ADV 151
+
/*
* Codes for Destination Unreachable
*/