Lines Matching defs:in6
480 struct in6_addr *in6,
494 *in6 = sin6->sin6_addr;
506 scopeid = scope6_addr2default(in6);
509 if (IN6_IS_SCOPE_LINKLOCAL(in6)) {
520 in6->s6_addr16[1] = htons(pi->ipi6_ifindex);
521 } else if (in6p && IN6_IS_ADDR_MULTICAST(in6) &&
525 in6->s6_addr16[1] = htons(ifp->if_index);
532 in6->s6_addr16[1] = htons(scopeid & 0xffff);
556 const struct in6_addr *in6,
561 sin6->sin6_addr = *in6;
564 * don't try to read *in6 beyond here, since the caller may
569 if (IN6_IS_SCOPE_LINKLOCAL(in6)) {