• Home
  • Raw
  • Download

Lines Matching refs:addr6

1023         const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr;  in _get_scope()  local
1024 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()
1025 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()
1026 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()
1027 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()
1033 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()
1082 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_label() local
1083 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()
1085 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()
1087 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()
1089 } else if (IN6_IS_ADDR_TEREDO(&addr6->sin6_addr)) { in _get_label()
1091 } else if (IN6_IS_ADDR_ULA(&addr6->sin6_addr)) { in _get_label()
1093 } else if (IN6_IS_ADDR_V4COMPAT(&addr6->sin6_addr)) { in _get_label()
1095 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_label()
1097 } else if (IN6_IS_ADDR_6BONE(&addr6->sin6_addr)) { in _get_label()
1121 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_precedence() local
1122 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_precedence()
1124 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_precedence()
1126 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_precedence()
1128 } else if (IN6_IS_ADDR_TEREDO(&addr6->sin6_addr)) { in _get_precedence()
1130 } else if (IN6_IS_ADDR_ULA(&addr6->sin6_addr)) { in _get_precedence()
1132 } else if (IN6_IS_ADDR_V4COMPAT(&addr6->sin6_addr) || in _get_precedence()
1133 IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr) || in _get_precedence()
1134 IN6_IS_ADDR_6BONE(&addr6->sin6_addr)) { in _get_precedence()