Lines Matching refs:addr6

1036         const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr;  in _get_scope()  local
1037 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()
1038 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()
1039 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()
1040 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()
1046 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()
1095 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_label() local
1096 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()
1098 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()
1100 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()
1102 } else if (IN6_IS_ADDR_TEREDO(&addr6->sin6_addr)) { in _get_label()
1104 } else if (IN6_IS_ADDR_ULA(&addr6->sin6_addr)) { in _get_label()
1106 } else if (IN6_IS_ADDR_V4COMPAT(&addr6->sin6_addr)) { in _get_label()
1108 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_label()
1110 } else if (IN6_IS_ADDR_6BONE(&addr6->sin6_addr)) { in _get_label()
1134 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_precedence() local
1135 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_precedence()
1137 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_precedence()
1139 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_precedence()
1141 } else if (IN6_IS_ADDR_TEREDO(&addr6->sin6_addr)) { in _get_precedence()
1143 } else if (IN6_IS_ADDR_ULA(&addr6->sin6_addr)) { in _get_precedence()
1145 } else if (IN6_IS_ADDR_V4COMPAT(&addr6->sin6_addr) || in _get_precedence()
1146 IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr) || in _get_precedence()
1147 IN6_IS_ADDR_6BONE(&addr6->sin6_addr)) { in _get_precedence()