version 1.54, 2006/01/21 00:15:37 |
version 1.55, 2006/03/03 14:07:06 |
Line 900 nd6_prelist_add(pr, dr, newp) |
|
Line 900 nd6_prelist_add(pr, dr, newp) |
|
if (newp != NULL) |
if (newp != NULL) |
*newp = new; |
*newp = new; |
|
|
/* initilization */ |
/* initialization */ |
LIST_INIT(&new->ndpr_advrtrs); |
LIST_INIT(&new->ndpr_advrtrs); |
in6_prefixlen2mask(&new->ndpr_mask, new->ndpr_plen); |
in6_prefixlen2mask(&new->ndpr_mask, new->ndpr_plen); |
/* make prefix in the canonical form */ |
/* make prefix in the canonical form */ |
|
|
* of DAD. we omitted DAD for this reason in the past. |
* of DAD. we omitted DAD for this reason in the past. |
* (3) a user can prevent autoconfiguration of global address |
* (3) a user can prevent autoconfiguration of global address |
* by removing link-local address by hand (this is partly because we |
* by removing link-local address by hand (this is partly because we |
* don't have other way to control the use of IPv6 on a interface. |
* don't have other way to control the use of IPv6 on an interface. |
* this has been our design choice - cf. NRL's "ifconfig auto"). |
* this has been our design choice - cf. NRL's "ifconfig auto"). |
* (4) it is easier to manage when an interface has addresses |
* (4) it is easier to manage when an interface has addresses |
* with the same interface identifier, than to have multiple addresses |
* with the same interface identifier, than to have multiple addresses |