Searched refs:pr0 (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_ifattach.c480 struct nd_prefix pr0, *pr; local
562 bzero(&pr0, sizeof(pr0));
563 lck_mtx_init(&pr0.ndpr_lock, ifa_mtx_grp, ifa_mtx_attr);
564 pr0.ndpr_ifp = ifp;
566 pr0.ndpr_plen = in6_mask2len(&ifra.ifra_prefixmask.sin6_addr, NULL);
567 pr0.ndpr_mask = ifra.ifra_prefixmask.sin6_addr;
568 pr0.ndpr_prefix = ifra.ifra_addr;
571 pr0.ndpr_prefix.sin6_addr.s6_addr32[i] &=
578 pr0
[all...]
H A Din6.c1112 struct nd_prefix pr0, *pr; local
1147 bzero(&pr0, sizeof(pr0));
1148 lck_mtx_init(&pr0.ndpr_lock, ifa_mtx_grp, ifa_mtx_attr);
1149 pr0.ndpr_ifp = ifp;
1150 pr0.ndpr_plen = in6_mask2len(&ifra->ifra_prefixmask.sin6_addr,
1152 if (pr0.ndpr_plen == 128)
1154 pr0.ndpr_prefix = ifra->ifra_addr;
1155 pr0.ndpr_mask = ifra->ifra_prefixmask.sin6_addr;
1158 pr0
1255 struct nd_prefix pr0, *pr; local
[all...]
H A Dnd6_rtr.c2997 struct nd_prefix *pr0; local
2999 for (pr0 = nd_prefix.lh_first; pr0;
3000 pr0 = pr0->ndpr_next) {
3001 NDPR_LOCK(pr0);
3002 if ((pfxrtr = pfxrtr_lookup(pr0, dr)) != NULL) {
3003 NDPR_UNLOCK(pr0);
3006 NDPR_UNLOCK(pr0);

Completed in 35 milliseconds