Date: Sat, 12 Sep 2009 22:08:20 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/ifconfig Makefile af_inet6.c af_nd6.c ifconfig.8 src/share/man/man4 inet6.4 src/sys/netinet6 in6.c in6_ifattach.c in6_proto.c ip6_input.c nd6.c nd6.h nd6_nbr.c nd6_rtr.c src/usr.sbin/ndp ndp.8 ndp.c Message-ID: <200909122212.n8CMCVjI094666@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
hrs 2009-09-12 22:08:20 UTC FreeBSD src repository Modified files: sbin/ifconfig Makefile af_inet6.c ifconfig.8 share/man/man4 inet6.4 sys/netinet6 in6.c in6_ifattach.c in6_proto.c ip6_input.c nd6.c nd6.h nd6_nbr.c nd6_rtr.c usr.sbin/ndp ndp.8 ndp.c Added files: sbin/ifconfig af_nd6.c Log: SVN rev 197138 on 2009-09-12 22:08:20Z by hrs Improve flexibility of receiving Router Advertisement and automatic link-local address configuration: - Convert a sysctl net.inet6.ip6.accept_rtadv to one for the default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a global knob. The default value of the sysctl is 0. - Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a sysctl net.inet6.ip6.auto_linklocal to one for its default value. The default value of the sysctl is 1. - Make ND6_IFF_IFDISABLED more robust. It can be used to disable IPv6 functionality of an interface now. - Receiving RA is allowed if ip6_forwarding==0 *and* ND6_IFF_ACCEPT_RTADV is set on that interface. The former condition will be revisited later to support a "host + router" box like IPv6 CPE router. The current behavior is compatible with the older releases of FreeBSD. - The ifconfig(8) now supports these ND6 flags as well as "nud", "prefer_source", and "disabled" in ndp(8). The ndp(8) now supports "auto_linklocal". Discussed with: bz and jinmei Reviewed by: bz MFC after: 3 days Revision Changes Path 1.38 +1 -0 src/sbin/ifconfig/Makefile 1.8 +15 -0 src/sbin/ifconfig/af_inet6.c 1.1 +251 -0 src/sbin/ifconfig/af_nd6.c (new) 1.160 +56 -10 src/sbin/ifconfig/ifconfig.8 1.21 +8 -2 src/share/man/man4/inet6.4 1.127 +8 -1 src/sys/netinet6/in6.c 1.76 +10 -6 src/sys/netinet6/in6_ifattach.c 1.68 +6 -2 src/sys/netinet6/in6_proto.c 1.134 +2 -2 src/sys/netinet6/ip6_input.c 1.125 +78 -13 src/sys/netinet6/nd6.c 1.32 +1 -0 src/sys/netinet6/nd6.h 1.70 +3 -1 src/sys/netinet6/nd6_nbr.c 1.75 +7 -9 src/sys/netinet6/nd6_rtr.c 1.20 +17 -9 src/usr.sbin/ndp/ndp.8 1.27 +7 -0 src/usr.sbin/ndp/ndp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909122212.n8CMCVjI094666>