NetBSD/sbin/ifconfig
dyoung a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
..
af_atalk.c Programs that use efun. 2006-08-26 18:14:28 +00:00
af_atalk.h Split off AppleTalk support into its own file. 2005-03-19 23:32:55 +00:00
af_inet6.c Programs that use efun. 2006-08-26 18:14:28 +00:00
af_inet6.h remove extern for unused ifr6. 2006-05-11 00:46:02 +00:00
af_inet.c Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
af_inet.h Split the IPv4 support into its own file. 2005-03-20 02:43:50 +00:00
af_iso.c Programs that use efun. 2006-08-26 18:14:28 +00:00
af_iso.h Split OSI support off into its own file. 2005-03-20 00:02:58 +00:00
agr.c name -> ifname (avoid shadow decl with global name[]). 2005-03-19 17:31:48 +00:00
agr.h add agr(4), a pseudo network device driver for link aggregation. 2005-03-18 11:11:50 +00:00
carp.c Integrate Common Address Redundancy Procotol (CARP) from OpenBSD 2006-05-18 09:05:49 +00:00
carp.h Integrate Common Address Redundancy Procotol (CARP) from OpenBSD 2006-05-18 09:05:49 +00:00
extern.h Programs that use efun. 2006-08-26 18:14:28 +00:00
ieee80211.c Programs that use efun. 2006-08-26 18:14:28 +00:00
ieee80211.h Add two new options from FreeBSD: 2006-04-29 21:32:29 +00:00
ifconfig.8 Fix typo, noted by Nino Dehne <ndehne@gmail.com> 2006-09-16 20:15:49 +00:00
ifconfig.c Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
Makefile Remove XNS support. 2006-08-26 16:20:20 +00:00
tunnel.c Add a mode to gre(4) that sends GRE tunnel packets in UDP datagrams. 2006-08-31 17:46:16 +00:00
tunnel.h Split tunnel support into its own file. 2005-03-19 17:32:26 +00:00
vlan.c name -> ifname (avoid shadow decl with global name[]). 2005-03-19 17:31:48 +00:00
vlan.h Split VLAN configuration bits out into a separate file. 2005-03-19 03:53:55 +00:00