Lines Matching defs:in6
1668 struct in6_addr *in6,
1678 *in6 = sin6->sin6_addr;
1690 scopeid = scope6_addr2default(in6);
1693 if (IN6_IS_SCOPE_LINKLOCAL(in6)) {
1697 if (in6p != NULL && IN6_IS_ADDR_MULTICAST(in6) &&
1716 in6->s6_addr16[1] = htons(pi->ipi6_ifindex);
1717 } else if (in6p && IN6_IS_ADDR_MULTICAST(in6) &&
1720 in6->s6_addr16[1] = htons(ifp->if_index);
1733 in6->s6_addr16[1] = htons(scopeid & 0xffff);
1757 const struct in6_addr *in6,
1762 sin6->sin6_addr = *in6;
1765 * don't try to read *in6 beyond here, since the caller may
1770 if (IN6_IS_SCOPE_LINKLOCAL(in6)) {