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
..
2006-10-16 00:45:19 +00:00
2006-10-16 02:42:42 +00:00
2006-10-16 02:43:19 +00:00
2006-10-23 03:56:38 +00:00
2006-10-16 02:44:46 +00:00
2006-10-16 03:02:01 +00:00
2006-10-16 03:09:26 +00:00
2006-10-16 03:10:59 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-11-09 10:07:00 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:37:42 +00:00
2006-10-16 03:04:45 +00:00
2006-10-16 03:15:46 +00:00
2006-10-16 03:25:21 +00:00
2006-10-30 01:21:53 +00:00
2006-10-16 02:56:56 +00:00
2006-10-17 09:26:21 +00:00
2006-10-15 22:37:14 +00:00