Home | History | Annotate | Download | only in netinet
History log of /src/sys/netinet/in_ifattach.h
RevisionDateAuthorComments
 1.1  13-Nov-2006  dyoung branches: 1.1.2; 1.1.6; 1.1.8;
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.
 1.1.8.2  30-Dec-2006  yamt sync with head.
 1.1.8.1  13-Nov-2006  yamt file in_ifattach.h was added on branch yamt-lazymbuf on 2006-12-30 20:50:33 +0000
 1.1.6.2  10-Dec-2006  yamt sync with head.
 1.1.6.1  13-Nov-2006  yamt file in_ifattach.h was added on branch yamt-splraiseipl on 2006-12-10 07:19:10 +0000
 1.1.2.2  18-Nov-2006  ad Sync with head.
 1.1.2.1  13-Nov-2006  ad file in_ifattach.h was added on branch newlock2 on 2006-11-18 21:39:36 +0000

RSS XML Feed