freebsd-dev/sbin/ifconfig
Hiroki Sato a283298ce3 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
2009-09-12 22:08:20 +00:00
..
af_atalk.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
af_inet6.c Improve flexibility of receiving Router Advertisement and 2009-09-12 22:08:20 +00:00
af_inet.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
af_ipx.c Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion of 2007-06-13 18:07:59 +00:00
af_link.c use getifaddrs from libc instead of private code 2007-02-24 23:55:46 +00:00
af_nd6.c Improve flexibility of receiving Router Advertisement and 2009-09-12 22:08:20 +00:00
ifbridge.c Add an option to limit the number of source MACs that can be behind a bridge 2007-11-04 08:32:27 +00:00
ifcarp.c Use afswch->af_other_status for carp_status() and pfsync_status(). 2005-02-22 14:07:47 +00:00
ifclone.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifconfig.8 Improve flexibility of receiving Router Advertisement and 2009-09-12 22:08:20 +00:00
ifconfig.c Make ifconfig ifN -vnet <jname|jid> actually work: 2009-07-26 11:25:57 +00:00
ifconfig.h - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifgif.c Use printb() instead of rolling its own routine to display 2009-09-07 15:52:15 +00:00
ifgre.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifgroup.c Default to AF_LOCAL instead of AF_INET sockets for non-family-specific 2009-03-15 22:33:18 +00:00
ifieee80211.c Mesh fixes, namely: 2009-07-27 14:22:09 +00:00
iflagg.c Do no spam the ifconfig output for the aggregated interface with 'laggdev laggX'. 2009-04-30 14:31:52 +00:00
ifmac.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifmedia.c Implementation of the upcoming Wireless Mesh standard, 802.11s, on the 2009-07-11 15:02:45 +00:00
ifpfsync.c Print pfsync interface status if either syncpeer or syncdev is configured. 2006-06-06 11:21:08 +00:00
ifvlan.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
Makefile Improve flexibility of receiving Router Advertisement and 2009-09-12 22:08:20 +00:00
regdomain.c Regulatory fixups: 2009-02-07 01:12:51 +00:00
regdomain.h Regulatory fixups: 2009-02-07 01:12:51 +00:00