Lines Matching refs:sin6_addr
495 ifra.ifra_addr.sin6_addr.s6_addr16[0] = htons(0xfe80);
497 ifra.ifra_addr.sin6_addr.s6_addr16[1] = 0
499 ifra.ifra_addr.sin6_addr.s6_addr16[1] = htons(ifp->if_index); /* XXX */
501 ifra.ifra_addr.sin6_addr.s6_addr32[1] = 0;
503 ifra.ifra_addr.sin6_addr.s6_addr32[2] = 0;
504 ifra.ifra_addr.sin6_addr.s6_addr32[3] = htonl(1);
506 if (get_ifid(ifp, altifp, &ifra.ifra_addr.sin6_addr) != 0) {
514 in6_addr2scopeid(ifp, &ifra.ifra_addr.sin6_addr);
519 ifra.ifra_prefixmask.sin6_addr = in6mask64;
583 pr0.ndpr_plen = in6_mask2len(&ifra.ifra_prefixmask.sin6_addr, NULL);
584 pr0.ndpr_mask = ifra.ifra_prefixmask.sin6_addr;
588 pr0.ndpr_prefix.sin6_addr.s6_addr32[i] &=
637 ifra.ifra_prefixmask.sin6_addr = in6mask128;
645 ifra.ifra_dstaddr.sin6_addr = in6addr_loopback;
649 ifra.ifra_addr.sin6_addr = in6addr_loopback;
741 if (in6_nigroup(NULL, name, namelen, &mltaddr.sin6_addr) != 0)
746 mltaddr.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
748 IN6_LOOKUP_MULTI(mltaddr.sin6_addr, ifp, in6m);
751 if (!in6_addmulti(&mltaddr.sin6_addr, ifp, &error, 0)) {
754 ip6_sprintf(&mltaddr.sin6_addr),
774 if (in6_nigroup(NULL, name, namelen, &mltaddr.sin6_addr) != 0)
779 mltaddr.sin6_addr.s6_addr16[1] = htons(ifp->if_index);
781 IN6_LOOKUP_MULTI(mltaddr.sin6_addr, ifp, in6m);
977 || !IN6_IS_ADDR_LINKLOCAL(&satosin6(&ifa->ifa_addr)->sin6_addr)) {
1037 sin6.sin6_addr = in6addr_linklocal_allnodes;
1038 sin6.sin6_addr.s6_addr16[1] = htons(ifp->if_index);