a25eaede91
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. |
||
---|---|---|
.. | ||
Makefile | ||
af_atalk.c | ||
af_atalk.h | ||
af_inet.c | ||
af_inet.h | ||
af_inet6.c | ||
af_inet6.h | ||
af_iso.c | ||
af_iso.h | ||
agr.c | ||
agr.h | ||
carp.c | ||
carp.h | ||
extern.h | ||
ieee80211.c | ||
ieee80211.h | ||
ifconfig.8 | ||
ifconfig.c | ||
tunnel.c | ||
tunnel.h | ||
vlan.c | ||
vlan.h |