/external/android-clat/ |
dns64.c | 50 hints.ai_family = AF_UNSPEC; 58 if(p->ai_family == AF_INET) { 62 if(p->ai_family != AF_INET6) { 63 logmsg(ANDROID_LOG_WARN,"plat_prefix/unexpected address family: %d\n", p->ai_family);
|
/external/tcpdump/missing/ |
getaddrinfo.c | 199 "ai_family not supported", /* EAI_FAMILY */ 319 pai->ai_family = PF_UNSPEC; 336 switch (hints->ai_family) { 354 if (pai->ai_family != ex->e_af) 373 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1) 375 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1) 380 if (pai->ai_family == PF_UNSPEC) { 382 pai->ai_family = PF_INET6; 384 pai->ai_family = PF_INET; 400 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)) [all...] |
addrinfo.h | 41 #define EAI_FAMILY 5 /* ai_family not supported */ 73 int ai_family; /* PF_xxx */ member in struct:addrinfo
|
/external/qemu/ |
qemu-sockets.c | 70 switch (e->ai_family) { 87 switch (e->ai_family) { 120 tag, inet_strfamily(e->ai_family), uaddr, uport); 135 ai.ai_family = PF_UNSPEC; 155 ai.ai_family = PF_INET; 157 ai.ai_family = PF_INET6; 176 slisten = qemu_socket(e->ai_family, e->ai_socktype, e->ai_protocol); 179 inet_strfamily(e->ai_family), strerror(errno)); 185 if (e->ai_family == PF_INET6) { 196 inet_strfamily(e->ai_family), uaddr, inet_getport(e)) [all...] |
/external/chromium_org/net/dns/ |
host_resolver_proc.cc | 28 switch (ai->ai_family) { 135 hints.ai_family = AF_INET; 138 hints.ai_family = AF_INET6; 141 hints.ai_family = AF_UNSPEC; 145 hints.ai_family = AF_UNSPEC; 198 if ((hints.ai_family != AF_UNSPEC || hints.ai_flags & AI_ADDRCONFIG) && 201 hints.ai_family = AF_UNSPEC;
|
/system/extras/tests/bionic/libc/common/ |
test_getaddrinfo.c | 33 hints.ai_family = AF_UNSPEC;
|
/external/chromium/net/base/ |
address_list.cc | 62 ai->ai_family = AF_INET; 75 ai->ai_family = AF_INET6; 205 ai->ai_family = sin->sin_family; 206 DCHECK_EQ(AF_INET, ai->ai_family); 213 ai->ai_family = sin6->sin6_family; 214 DCHECK_EQ(AF_INET6, ai->ai_family);
|
host_resolver_proc.cc | 27 switch (ai->ai_family) { 146 hints.ai_family = AF_INET; 149 hints.ai_family = AF_INET6; 152 hints.ai_family = AF_UNSPEC; 156 hints.ai_family = AF_UNSPEC; 218 if ((hints.ai_family != AF_UNSPEC || hints.ai_flags & AI_ADDRCONFIG) && 221 hints.ai_family = AF_UNSPEC;
|
address_list_unittest.cc | 137 ai.ai_family = AF_INET; 205 EXPECT_EQ(good_ai->ai_family, test_ai->ai_family); 248 EXPECT_EQ(good_ai->ai_family, test_ai->ai_family);
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 35 * that ai_family is AF_INET. Don't use it for another purpose. 101 return ("ai_family not supported"); 137 ai->ai_addr->sa_family = ai->ai_family = AF_INET; 166 if (hints && hints->ai_family != AF_UNSPEC && 167 hints->ai_family != AF_INET)
|
/external/chromium_org/net/base/ |
address_list_unittest.cc | 28 ai.ai_family = AF_INET; 59 ai[i].ai_family = addr->sin_family; 93 int ai_family; member in struct:net::__anon8852::TestData
|
address_list.cc | 72 DLOG(WARNING) << "Unknown family found in addrinfo: " << ai->ai_family;
|
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 46 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 51 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 79 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, 84 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr,
|
/external/chromium/net/websockets/ |
websocket_throttle.cc | 24 switch (addrinfo->ai_family) { 29 addrinfo->ai_family, 37 addrinfo->ai_family, 43 addrinfo->ai_family,
|
/external/chromium/net/socket/ |
transport_client_socket_pool_unittest.cc | 74 if (addrlist_.head()->ai_family == AF_INET) 198 if (addrlist_.head()->ai_family == AF_INET) 418 EXPECT_EQ(AF_INET, ai->ai_family); 420 EXPECT_EQ(AF_INET, ai->ai_family); 428 EXPECT_EQ(AF_INET6, ai->ai_family); 430 EXPECT_EQ(AF_INET6, ai->ai_family); 440 EXPECT_EQ(AF_INET, ai->ai_family); 442 EXPECT_EQ(AF_INET, ai->ai_family); 444 EXPECT_EQ(AF_INET6, ai->ai_family); 446 EXPECT_EQ(AF_INET6, ai->ai_family); [all...] |
transport_client_socket_pool.cc | 35 if (ai->ai_family != AF_INET6) 40 if (ai->ai_family != AF_INET6) 51 if (ai->ai_family != AF_INET6) 156 if (addrlist->head()->ai_family != AF_INET6) 160 if (ai->ai_family != AF_INET6) { 174 while (head->ai_family == AF_INET6) { 265 bool is_ipv4 = addresses_.head()->ai_family != AF_INET6;
|
/external/chromium/net/tools/flip_server/ |
create_listener.cc | 128 hints.ai_family = PF_INET; 141 int sock = socket(results->ai_family, 251 hints.ai_family = PF_INET; 264 int sock = socket(results->ai_family,
|
/external/chromium_org/net/tools/flip_server/ |
create_listener.cc | 120 hints.ai_family = PF_INET; 135 socket(results->ai_family, results->ai_socktype, results->ai_protocol); 249 hints.ai_family = PF_INET; 263 socket(results->ai_family, results->ai_socktype, results->ai_protocol);
|
/libcore/luni/src/main/java/libcore/io/ |
StructAddrinfo.java | 32 public int ai_family; field in class:StructAddrinfo
|
/bionic/libc/netbsd/net/ |
getaddrinfo.c | 64 * ai_family = PF_UNSPEC: 256 "ai_family not supported", /* EAI_FAMILY */ 454 hints == NULL ? -1 : hints->ai_family, 605 pai->ai_family = PF_UNSPEC; 622 switch (hints->ai_family) { 640 if (pai->ai_family != ex->e_af) 659 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1) 661 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1) 666 if (pai->ai_family == PF_UNSPEC) { 668 pai->ai_family = PF_INET6 [all...] |
/system/core/libnetutils/ |
ifc_utils.c | 104 hints.ai_family = AF_UNSPEC; 876 hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ 887 if (addr_ai->ai_family == AF_INET6) { 889 } else if (addr_ai->ai_family == AF_INET) { 894 if (((addr_ai->ai_family == AF_INET6) && (prefix_length < 0 || prefix_length > 128)) || 895 ((addr_ai->ai_family == AF_INET) && (prefix_length < 0 || prefix_length > 32))) { 908 if (addr_ai->ai_family != gw_ai->ai_family) { 915 if (addr_ai->ai_family == AF_INET6) { 920 } else if (addr_ai->ai_family == AF_INET) [all...] |
/external/iputils/ |
tracepath6.c | 437 hints.ai_family = family; 452 if (family && ai->ai_family != family) 454 if (ai->ai_family != AF_INET6 && 455 ai->ai_family != AF_INET) 457 family = ai->ai_family; 458 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
|
/external/chromium_org/chrome/test/chromedriver/net/ |
websocket.cc | 36 hints.ai_family = AF_UNSPEC; 44 if (addr->ai_family == AF_INET || addr->ai_family == AF_INET6) {
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 50 hints.ai_family = AF_INET; 58 if (family == AF_UNSPEC || cursor->ai_family == family) {
|
/external/dropbear/ |
fake-rfc2553.c | 38 * that ai_family is AF_INET. Don't use it for another purpose. 132 ai->ai_addr->sa_family = ai->ai_family = AF_INET;
|