summaryrefslogtreecommitdiffstats
path: root/sys/netinet/icmp6.h
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-05-04 19:16:26 +0000
committerhrs <hrs@FreeBSD.org>2013-05-04 19:16:26 +0000
commitd9d71436d975a7ec598297c564219c530aa41138 (patch)
treeaa5ae7e9839ddc5bfbdcadec3937869568f4e33f /sys/netinet/icmp6.h
parentbf7b6b6227253281ec4cfedd2f8c95e19532acb3 (diff)
downloadFreeBSD-src-d9d71436d975a7ec598297c564219c530aa41138.zip
FreeBSD-src-d9d71436d975a7ec598297c564219c530aa41138.tar.gz
Use FF02:0:0:0:0:2:FF00::/104 prefix for IPv6 Node Information Group
Address. Although KAME implementation used FF02:0:0:0:0:2::/96 based on older versions of draft-ietf-ipngwg-icmp-name-lookup, it has been changed in RFC 4620. The kernel always joins the /104-prefixed address, and additionally does /96-prefixed one only when net.inet6.icmp6.nodeinfo_oldmcprefix=1. The default value of the sysctl is 1. ping6(8) -N flag now uses /104-prefixed one. When this flag is specified twice, it uses /96-prefixed one instead. Reviewed by: ume Based on work by: Thomas Scheffler PR: conf/174957 MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/icmp6.h')
-rw-r--r--sys/netinet/icmp6.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index a6e6886..5483721 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -659,7 +659,8 @@ void kmod_icmp6stat_inc(int statnum);
#define ICMPV6CTL_MLD_SOMAXSRC 22
#define ICMPV6CTL_MLD_VERSION 23
#define ICMPV6CTL_ND6_MAXQLEN 24
-#define ICMPV6CTL_MAXID 25
+#define ICMPV6CTL_NODEINFO_OLDMCPREFIX 25
+#define ICMPV6CTL_MAXID 26
#define RTF_PROBEMTU RTF_PROTO1
OpenPOWER on IntegriCloud