NetBSD/sys/netinet6
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
..
Makefile
ah.h
ah_aesxcbcmac.c
ah_aesxcbcmac.h
ah_core.c what was <crypto/sha2/sha2.h> and <crypto/ripemd160/rmd160.h> is now 2006-10-27 22:50:28 +00:00
ah_input.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ah_output.c XXX: GCC uninitialized. 2006-05-14 05:30:31 +00:00
dest6.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
esp.h
esp_aesctr.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
esp_aesctr.h
esp_core.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
esp_input.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
esp_output.c comment out comparison always false 2006-08-30 01:23:35 +00:00
esp_rijndael.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
esp_rijndael.h
files.ipsec Merge kernel and userland rmd160 and sha2 implementation. 2006-10-27 21:20:48 +00:00
files.netinet6 Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292). 2006-05-05 00:03:21 +00:00
frag6.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
icmp6.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
in6.c Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
in6.h Commented out IPv6 socket options which are no longer supported. 2006-10-31 00:29:30 +00:00
in6_cksum.c
in6_gif.c merge FreeBSD timecounters from branch simonb-timecounters 2006-06-07 22:33:33 +00:00
in6_gif.h
in6_ifattach.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
in6_ifattach.h NDP-related improvements: 2006-03-05 23:47:08 +00:00
in6_pcb.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
in6_pcb.h Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
in6_proto.c change the MOWNER_INIT define to take two args; fix extant struct mowner 2006-10-10 21:49:14 +00:00
in6_src.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
in6_var.h use portable bitfields. 2006-10-17 14:52:21 +00:00
ip6_forward.c Fix a minor printf found while reading the code 2006-06-29 16:56:31 +00:00
ip6_id.c Fix initializers. 2006-08-30 17:11:53 +00:00
ip6_input.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ip6_mroute.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ip6_mroute.h
ip6_output.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ip6_var.h Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292). 2006-05-05 00:03:21 +00:00
ip6protosw.h gc unused member. 2006-08-27 23:55:16 +00:00
ipcomp.h
ipcomp_core.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ipcomp_input.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ipcomp_output.c
ipsec.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
ipsec.h
mld6.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
mld6_var.h NDP-related improvements: 2006-03-05 23:47:08 +00:00
nd6.c Add a source-address selection policy mechanism to the kernel. 2006-11-13 05:13:38 +00:00
nd6.h NDP-related improvements: 2006-03-05 23:47:08 +00:00
nd6_nbr.c fix the dad_count logic: if we send a packet successfully, reset the counter 2006-06-28 16:43:43 +00:00
nd6_rtr.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
pim6.h
pim6_var.h
raw_ip6.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
raw_ip6.h
route6.c - sprinkle __unused on function decls. 2006-10-12 01:30:41 +00:00
scope6.c comment out impossible comparison. 2006-09-03 05:16:59 +00:00
scope6_var.h
udp6.h
udp6_output.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
udp6_usrreq.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
udp6_var.h Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00