diff options
author | hrs <hrs@FreeBSD.org> | 2013-05-04 19:16:26 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-05-04 19:16:26 +0000 |
commit | d9d71436d975a7ec598297c564219c530aa41138 (patch) | |
tree | aa5ae7e9839ddc5bfbdcadec3937869568f4e33f /sys/netinet6/in6_ifattach.h | |
parent | bf7b6b6227253281ec4cfedd2f8c95e19532acb3 (diff) | |
download | FreeBSD-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/netinet6/in6_ifattach.h')
-rw-r--r-- | sys/netinet6/in6_ifattach.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_ifattach.h b/sys/netinet6/in6_ifattach.h index 113c427..af62731 100644 --- a/sys/netinet6/in6_ifattach.h +++ b/sys/netinet6/in6_ifattach.h @@ -40,6 +40,7 @@ int in6_get_tmpifid(struct ifnet *, u_int8_t *, const u_int8_t *, int); void in6_tmpaddrtimer(void *); int in6_get_hw_ifid(struct ifnet *, struct in6_addr *); int in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *); +int in6_nigroup_oldmcprefix(struct ifnet *, const char *, int, struct in6_addr *); #endif /* _KERNEL */ #endif /* _NETINET6_IN6_IFATTACH_H_ */ |