Lines Matching refs:sin6_addr
327 zoneid = scope6_addr2default(&sin6->sin6_addr); in sa6_embedscope()
330 (IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) || in sa6_embedscope()
331 IN6_IS_ADDR_MC_INTFACELOCAL(&sin6->sin6_addr))) { in sa6_embedscope()
348 sin6->sin6_addr.s6_addr16[1] = htons(zoneid & 0xffff); in sa6_embedscope()
364 if (IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) || in sa6_recoverscope()
365 IN6_IS_ADDR_MC_INTFACELOCAL(&sin6->sin6_addr)) { in sa6_recoverscope()
369 zoneid = ntohs(sin6->sin6_addr.s6_addr16[1]); in sa6_recoverscope()
385 ip6_sprintf(ip6buf, &sin6->sin6_addr), in sa6_recoverscope()
388 sin6->sin6_addr.s6_addr16[1] = 0; in sa6_recoverscope()
558 scope = in6_addrscope(&sa6->sin6_addr); in sa6_checkzone()
561 if (IN6_IS_ADDR_MULTICAST(&sa6->sin6_addr) && in sa6_checkzone()
574 if (IN6_IS_ADDR_LOOPBACK(&sa6->sin6_addr)) { in sa6_checkzone()
598 scope = in6_addrscope(&sa6->sin6_addr); in sa6_checkzone_ifp()