Lines Matching refs:sin6_addr

424 			error = in6_setscope(&sa6->sin6_addr, ifp, NULL);  in in6_control_ioctl()
428 &sa6->sin6_addr)) != 0) in in6_control_ioctl()
432 ia = in6ifa_ifpwithaddr(ifp, &sa6->sin6_addr); in in6_control_ioctl()
584 error = mac_inet6_check_add_addr(cred, &sa6->sin6_addr, ifp); in in6_control_ioctl()
685 &ifra->ifra_addr.sin6_addr)) != 0) in in6_update_ifa_join_mc()
828 ifra->ifra_addr.sin6_addr = *addr; in in6_prepare_ifra()
833 ifra->ifra_prefixmask.sin6_addr = *mask; in in6_prepare_ifra()
880 plen = in6_mask2len(&ifra->ifra_prefixmask.sin6_addr, in in6_validate_ifra()
890 plen = in6_mask2len(&ia->ia_prefixmask.sin6_addr, NULL); in in6_validate_ifra()
903 in6_tmp = dst6.sin6_addr; in in6_validate_ifra()
949 ip6_sprintf(ip6buf, &ifra->ifra_addr.sin6_addr))); in in6_validate_ifra()
964 in6_mask2len(&ia->ia_prefixmask.sin6_addr, NULL) != plen) { in in6_validate_ifra()
967 ip6_sprintf(ip6buf, &ia->ia_addr.sin6_addr))); in in6_validate_ifra()
1016 ia->ia_prefixmask.sin6_addr = ifra->ifra_prefixmask.sin6_addr; in in6_alloc_ifa()
1028 CK_LIST_INSERT_HEAD(IN6ADDR_HASH(&ia->ia_addr.sin6_addr), ia, ia6_hash); in in6_alloc_ifa()
1194 .sin6_addr = ia->ia_dstaddr.sin6_addr, in in6_handle_dstaddr_rtrequest()
1220 plen = in6_mask2len(&ia->ia_prefixmask.sin6_addr, NULL); /* XXX */ in ifa_is_p2p()
1223 !IN6_ARE_ADDR_EQUAL(&ia->ia_addr.sin6_addr, &ia->ia_dstaddr.sin6_addr)) in ifa_is_p2p()
1248 if ((ia = in6ifa_ifpwithaddr(ifp, &ifra->ifra_addr.sin6_addr)) == NULL) { in in6_addifaddr()
1281 pr0.ndpr_plen = in6_mask2len(&ifra->ifra_prefixmask.sin6_addr, in in6_addifaddr()
1289 IN6_MASK_ADDR(&pr0.ndpr_prefix.sin6_addr, in in6_addifaddr()
1290 &ifra->ifra_prefixmask.sin6_addr); in in6_addifaddr()
1545 !IN6_ARE_ADDR_EQUAL(&pdst->sin6_addr, &ia->ia_dstaddr.sin6_addr)) { in in6_notify_ifa()
1550 ip6_sprintf(ip6buf, &ia->ia_addr.sin6_addr))); in in6_notify_ifa()
1684 if (IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) || in in6ifa_llaonifp()
1685 IN6_IS_ADDR_MC_INTFACELOCAL(&sin6->sin6_addr) || in in6ifa_llaonifp()
1686 IN6_IS_ADDR_MC_NODELOCAL(&sin6->sin6_addr)) in in6ifa_llaonifp()
1787 if (IN6_ARE_MASKED_ADDR_EQUAL(in6, &ia->ia_addr.sin6_addr, in in6_localaddr()
1788 &ia->ia_prefixmask.sin6_addr)) { in in6_localaddr()
1810 if (IN6_ARE_ADDR_EQUAL(in6, &ia->ia_addr.sin6_addr)) { in in6_localip()
1830 if (IN6_ARE_ADDR_EQUAL(in6, &ia->ia_addr.sin6_addr) && in in6_localip_fib()
1863 if (IN6_ARE_ADDR_EQUAL(&ia6->ia_addr.sin6_addr, &in6)) in in6_ifhasaddr()
1877 CK_LIST_FOREACH(ia, IN6ADDR_HASH(&sa6->sin6_addr), ia6_hash) { in in6_is_addr_deprecated()
1878 if (IN6_ARE_ADDR_EQUAL(IA6_IN6(ia), &sa6->sin6_addr)) { in in6_is_addr_deprecated()
2005 blen = in6_matchlen(&besta->ia_addr.sin6_addr, dst); in in6_ifawithifp()
2236 addr = &((const struct sockaddr_in6 *)saddr)->sin6_addr; in in6_lltable_match_prefix()
2237 mask = &((const struct sockaddr_in6 *)smask)->sin6_addr; in in6_lltable_match_prefix()
2297 in6_splitscope(&sin6->sin6_addr, &dst, &scopeid); in in6_lltable_rtcheck()
2311 ip6_sprintf(ip6buf, &sin6->sin6_addr)); in in6_lltable_rtcheck()
2340 sin6->sin6_addr = lle->r_l3addr.addr6; in in6_lltable_fill_sa_entry()
2401 lle = in6_lltable_new(&sin6->sin6_addr, flags); in in6_lltable_alloc()
2440 lle = in6_lltable_find_dst(llt, &sin6->sin6_addr); in in6_lltable_lookup()
2663 sin->sin_addr.s_addr = sin6->sin6_addr.s6_addr32[3]; in in6_sin6_2_sin()
2674 sin6->sin6_addr.s6_addr32[0] = 0; in in6_sin_2_v4mapsin6()
2675 sin6->sin6_addr.s6_addr32[1] = 0; in in6_sin_2_v4mapsin6()
2676 sin6->sin6_addr.s6_addr32[2] = IPV6_ADDR_INT32_SMP; in in6_sin_2_v4mapsin6()
2677 sin6->sin6_addr.s6_addr32[3] = sin->sin_addr.s_addr; in in6_sin_2_v4mapsin6()