Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/nd6.c
Show First 20 Lines • Show All 1,310 Lines • ▼ Show 20 Lines | if ((pr->ndpr_stateflags & NDPRF_ONLINK) == 0) { | ||||
} | } | ||||
if (error != 0) | if (error != 0) | ||||
continue; | continue; | ||||
/* | /* | ||||
* This is the case where multiple interfaces | * This is the case where multiple interfaces | ||||
* have the same prefix, but only one is installed | * have the same prefix, but only one is installed | ||||
* into the routing table and that prefix entry | * into the routing table and that prefix entry | ||||
* is not the one being examined here. In the case | * is not the one being examined here. | ||||
* where RADIX_MPATH is enabled, multiple route | |||||
* entries (of the same rt_key value) will be | |||||
* installed because the interface addresses all | |||||
* differ. | |||||
*/ | */ | ||||
if (!IN6_ARE_ADDR_EQUAL(&pr->ndpr_prefix.sin6_addr, | if (!IN6_ARE_ADDR_EQUAL(&pr->ndpr_prefix.sin6_addr, | ||||
&rt_key.sin6_addr)) | &rt_key.sin6_addr)) | ||||
continue; | continue; | ||||
} | } | ||||
if (IN6_ARE_MASKED_ADDR_EQUAL(&pr->ndpr_prefix.sin6_addr, | if (IN6_ARE_MASKED_ADDR_EQUAL(&pr->ndpr_prefix.sin6_addr, | ||||
&addr->sin6_addr, &pr->ndpr_mask)) { | &addr->sin6_addr, &pr->ndpr_mask)) { | ||||
▲ Show 20 Lines • Show All 1,332 Lines • Show Last 20 Lines |