Lines Matching refs:sin6_addr
376 pr.ndpr_prefix.sin6_addr = pi->nd_opt_pi_prefix;
512 gate.sin6_addr = new->rtaddr;
612 gate.sin6_addr = dr->rtaddr;
878 in6_are_prefix_equal(&pr->ndpr_prefix.sin6_addr,
879 &search->ndpr_prefix.sin6_addr,
936 IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr) ||
988 new->ndpr_prefix.sin6_addr.s6_addr32[i] &=
1005 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1045 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1140 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1167 ip6_sprintf(&new->ndpr_prefix.sin6_addr),
1236 ifa_plen = in6_mask2len(&ifa6->ia_prefixmask.sin6_addr, NULL);
1238 !in6_are_prefix_equal(&ifa6->ia_addr.sin6_addr,
1239 &new->ndpr_prefix.sin6_addr,
1443 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr))
1463 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr))
1485 if (IN6_IS_ADDR_LINKLOCAL(&pr->ndpr_prefix.sin6_addr))
1497 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1508 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1580 ip6_sprintf(&pr->ndpr_prefix.sin6_addr), pr->ndpr_plen);
1603 in6_are_prefix_equal(&pr->ndpr_prefix.sin6_addr,
1604 &opr->ndpr_prefix.sin6_addr,
1642 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1653 mask6.sin6_addr = pr->ndpr_mask;
1680 ip6_sprintf(&pr->ndpr_prefix.sin6_addr),
1682 ip6_sprintf(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr),
1683 ip6_sprintf(&mask6.sin6_addr), rtflags, error));
1708 ip6_sprintf(&pr->ndpr_prefix.sin6_addr), pr->ndpr_plen));
1715 bcopy(&pr->ndpr_prefix.sin6_addr, &sa6.sin6_addr,
1720 bcopy(&pr->ndpr_mask, &mask6.sin6_addr, sizeof(struct in6_addr));
1754 in6_are_prefix_equal(&pr->ndpr_prefix.sin6_addr,
1755 &opr->ndpr_prefix.sin6_addr,
1764 ip6_sprintf(&opr->ndpr_prefix.sin6_addr),
1776 ip6_sprintf(&sa6.sin6_addr), pr->ndpr_plen, if_name(ifp),
1842 plen0 = in6_mask2len(&ib->ia_prefixmask.sin6_addr, NULL);
1861 bcopy(&pr->ndpr_prefix.sin6_addr, &ifra.ifra_addr.sin6_addr,
1862 sizeof(ifra.ifra_addr.sin6_addr));
1863 ifra.ifra_addr.sin6_addr.s6_addr32[0] &= mask.s6_addr32[0];
1864 ifra.ifra_addr.sin6_addr.s6_addr32[1] &= mask.s6_addr32[1];
1865 ifra.ifra_addr.sin6_addr.s6_addr32[2] &= mask.s6_addr32[2];
1866 ifra.ifra_addr.sin6_addr.s6_addr32[3] &= mask.s6_addr32[3];
1870 ifid = &ib->ia_addr.sin6_addr;
1871 ifra.ifra_addr.sin6_addr.s6_addr32[0]
1873 ifra.ifra_addr.sin6_addr.s6_addr32[1]
1875 ifra.ifra_addr.sin6_addr.s6_addr32[2]
1877 ifra.ifra_addr.sin6_addr.s6_addr32[3]
1883 bcopy(&mask, &ifra.ifra_prefixmask.sin6_addr,
1884 sizeof(ifra.ifra_prefixmask.sin6_addr));
1909 pr->ndpr_addr = ifra.ifra_addr.sin6_addr;
1915 ip6_sprintf(&ifra.ifra_addr.sin6_addr), if_name(ifp),
1920 ia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr);
1950 ifra.ifra_addr.sin6_addr.s6_addr32[i]
1951 &= ifra.ifra_prefixmask.sin6_addr.s6_addr32[i];
1956 (const u_int8_t *)&ia0->ia_addr.sin6_addr.s6_addr[8],
1958 ifra.ifra_addr.sin6_addr.s6_addr32[2]
1959 |= (randid[0] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[2]));
1960 ifra.ifra_addr.sin6_addr.s6_addr32[3]
1961 |= (randid[1] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[3]));
1969 if (in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr) != NULL) {
2020 newia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr);
2132 if (!IN6_ARE_ADDR_EQUAL(gate, &SIN6(rt->rt_gateway)->sin6_addr))