Lines Matching refs:sin6_addr
516 pr.ndpr_prefix.sin6_addr = pi->nd_opt_pi_prefix; in nd6_ra_input()
689 .sin6_addr = new->rtaddr, in defrouter_addreq()
723 .sin6_addr = dr->rtaddr, in defrouter_delreq()
1223 plen0 = in6_mask2len(&ib->ia_prefixmask.sin6_addr, NULL); in in6_ifadd()
1233 in6_prepare_ifra(&ifra, &pr->ndpr_prefix.sin6_addr, &mask); in in6_ifadd()
1235 IN6_MASK_ADDR(&ifra.ifra_addr.sin6_addr, &mask); in in6_ifadd()
1237 ifra.ifra_addr.sin6_addr.s6_addr32[0] |= in in6_ifadd()
1238 (ib->ia_addr.sin6_addr.s6_addr32[0] & ~mask.s6_addr32[0]); in in6_ifadd()
1239 ifra.ifra_addr.sin6_addr.s6_addr32[1] |= in in6_ifadd()
1240 (ib->ia_addr.sin6_addr.s6_addr32[1] & ~mask.s6_addr32[1]); in in6_ifadd()
1241 ifra.ifra_addr.sin6_addr.s6_addr32[2] |= in in6_ifadd()
1242 (ib->ia_addr.sin6_addr.s6_addr32[2] & ~mask.s6_addr32[2]); in in6_ifadd()
1243 ifra.ifra_addr.sin6_addr.s6_addr32[3] |= in in6_ifadd()
1244 (ib->ia_addr.sin6_addr.s6_addr32[3] & ~mask.s6_addr32[3]); in in6_ifadd()
1261 &ifra.ifra_addr.sin6_addr); in in6_ifadd()
1266 ip6_sprintf(ip6buf, &ifra.ifra_addr.sin6_addr)); in in6_ifadd()
1282 ip6_sprintf(ip6buf, &ifra.ifra_addr.sin6_addr), in in6_ifadd()
1287 ia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr); in in6_ifadd()
1306 in6_are_prefix_equal(&key->ndpr_prefix.sin6_addr, in nd6_prefix_lookup_locked()
1307 &search->ndpr_prefix.sin6_addr, key->ndpr_plen)) { in nd6_prefix_lookup_locked()
1372 IN6_MASK_ADDR(&new->ndpr_prefix.sin6_addr, &new->ndpr_mask); in nd6_prelist_add()
1388 ip6_sprintf(ip6buf, &pr->ndpr_prefix.sin6_addr), in nd6_prelist_add()
1446 ip6_sprintf(ip6buf, &pr->ndpr_prefix.sin6_addr), in nd6_prefix_del()
1521 &pr->ndpr_prefix.sin6_addr), in prelist_update()
1541 ip6_sprintf(ip6buf, &new->ndpr_prefix.sin6_addr), in prelist_update()
1876 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr) || in pfxlist_onlink_check()
1891 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr) || in pfxlist_onlink_check()
1912 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr) || in pfxlist_onlink_check()
1927 &pr->ndpr_prefix.sin6_addr), in pfxlist_onlink_check()
1935 &pr->ndpr_prefix.sin6_addr), in pfxlist_onlink_check()
2051 .sin6_addr = pr->ndpr_mask, in nd6_prefix_onlink_rtrequest()
2099 in6_are_prefix_equal(&pr->ndpr_prefix.sin6_addr, in nd6_prefix_onlink()
2100 &opr->ndpr_prefix.sin6_addr, pr->ndpr_plen)) { in nd6_prefix_onlink()
2134 ip6_sprintf(ip6buf, &pr->ndpr_prefix.sin6_addr), in nd6_prefix_onlink()
2165 .sin6_addr = pr->ndpr_mask, in nd6_prefix_offlink()
2195 in6_are_prefix_equal(&pr->ndpr_prefix.sin6_addr, in nd6_prefix_offlink()
2196 &opr->ndpr_prefix.sin6_addr, pr->ndpr_plen)) { in nd6_prefix_offlink()
2206 &opr->ndpr_prefix.sin6_addr), in nd6_prefix_offlink()
2221 __func__, ip6_sprintf(ip6buf, &pr->ndpr_prefix.sin6_addr), in nd6_prefix_offlink()
2248 in6_prepare_ifra(&ifra, &ia0->ia_addr.sin6_addr, in in6_tmpifadd()
2249 &ia0->ia_prefixmask.sin6_addr); in in6_tmpifadd()
2253 IN6_MASK_ADDR(&ifra.ifra_addr.sin6_addr, in in6_tmpifadd()
2254 &ifra.ifra_prefixmask.sin6_addr); in in6_tmpifadd()
2258 (const u_int8_t *)&ia0->ia_addr.sin6_addr.s6_addr[8], forcegen)) { in in6_tmpifadd()
2263 ifra.ifra_addr.sin6_addr.s6_addr32[2] |= in in6_tmpifadd()
2264 (randid[0] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[2])); in in6_tmpifadd()
2265 ifra.ifra_addr.sin6_addr.s6_addr32[3] |= in in6_tmpifadd()
2266 (randid[1] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[3])); in in6_tmpifadd()
2275 if (in6_localip(&ifra.ifra_addr.sin6_addr) != 0) { in in6_tmpifadd()
2333 newia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr); in in6_tmpifadd()
2367 if (!IN6_ARE_ADDR_EQUAL(gate, &nh->gw6_sa.sin6_addr)) { in rt6_deleteroute()
2547 d.rtaddr.sin6_addr = dr->rtaddr; in nd6_sysctl_drlist()