Lines Matching refs:addr6
1515 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *)addr; in _get_scope() local
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()
1579 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *) addr; in _get_label() local
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()
1621 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *)addr; in _get_precedence() local
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()