NetBSD/sys
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
..
altq Don't allow to initialize an interface with MTU smaller than one. 2006-10-28 11:35:17 +00:00
arch Improve the tags target for i386: 2006-11-12 22:44:00 +00:00
coda
compat Regen (PR#34951 fixes). 2006-11-09 14:10:21 +00:00
conf add another file to the VARSTACK list 2006-11-11 08:40:42 +00:00
contrib/dev/ath depend on the cardbus version too. 2006-10-30 01:31:04 +00:00
crypto Merge kernel and userland rmd160 and sha2 implementation. 2006-10-27 21:20:48 +00:00
ddb
dev Stop using typeof() in the bit-twiddling macros, per yamt@'s 2006-11-13 03:35:59 +00:00
dist
fs Add 2006 to the copyright notice; should have done this when touching the 2006-11-09 16:20:06 +00:00
gdbscripts adapt to mnt_vnodelist being TAILQ 2006-11-04 20:33:17 +00:00
ipkdb
kern for pt_syscall, send a signal to our parent, not out grandparent. Noted by 2006-11-13 02:52:08 +00:00
lib Add strsep(3) to libkern. 2006-11-13 03:26:43 +00:00
lkm move USE_SSP=no one level up. 2006-11-11 22:38:38 +00:00
miscfs Add missing space in comment 2006-11-10 22:31:19 +00:00
net Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
net80211 Move AMRR code out of wpi(4) and ural(4) into net80211 itself. 2006-10-31 21:53:41 +00:00
netatalk Kill KAUTH_GENERIC_ISSUSER use. 2006-10-25 23:30:35 +00:00
netbt
netinet Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
netinet6 Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
netipsec
netisdn Kill KAUTH_GENERIC_ISSUSER. 2006-10-25 23:44:42 +00:00
netiso Kill some KAUTH_GENERIC_ISSUSER. 2006-10-25 23:40:57 +00:00
netkey
netnatm
netsmb
nfs remove some __unused in function parameters. 2006-11-09 09:53:57 +00:00
opencrypto Merge kernel and userland rmd160 and sha2 implementation. 2006-10-27 21:20:48 +00:00
secmodel Better VCHR handling. 2006-11-07 08:53:49 +00:00
stand
sys Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
ufs Revisit mnt_vnodelist TAILQ patch. Remove all suspicious TAILQ_FOREACH() 2006-10-25 22:01:54 +00:00
uvm remove some __unused from function parameters. 2006-11-01 10:17:58 +00:00
Makefile don't descend to crypto. 2006-10-29 19:08:53 +00:00