Lines Matching refs:sin6_addr
151 offsetof(struct sockaddr_in6, sin6_addr),
377 .sin6_addr.s6_addr = { // 2000:: in _have_ipv6()
1255 a6 = &sin6->sin6_addr; in ip6_str2scopeid()
1516 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()
1517 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()
1518 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()
1519 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()
1525 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()
1580 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()
1582 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()
1584 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()
1586 } else if (IN6_IS_ADDR_TEREDO(&addr6->sin6_addr)) { in _get_label()
1588 } else if (IN6_IS_ADDR_ULA(&addr6->sin6_addr)) { in _get_label()
1590 } else if (IN6_IS_ADDR_V4COMPAT(&addr6->sin6_addr)) { in _get_label()
1592 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_label()
1594 } else if (IN6_IS_ADDR_6BONE(&addr6->sin6_addr)) { in _get_label()
1622 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_precedence()
1624 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_precedence()
1626 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_precedence()
1628 } else if (IN6_IS_ADDR_TEREDO(&addr6->sin6_addr)) { in _get_precedence()
1630 } else if (IN6_IS_ADDR_ULA(&addr6->sin6_addr)) { in _get_precedence()
1632 } else if (IN6_IS_ADDR_V4COMPAT(&addr6->sin6_addr) || in _get_precedence()
1633 IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr) || in _get_precedence()
1634 IN6_IS_ADDR_6BONE(&addr6->sin6_addr)) { in _get_precedence()
1762 prefixlen1 = _common_prefix_len(&a1_src->sin6_addr, &a1_dst->sin6_addr); in _rfc6724_compare()
1763 prefixlen2 = _common_prefix_len(&a2_src->sin6_addr, &a2_dst->sin6_addr); in _rfc6724_compare()