/libcore/luni/src/main/java/libcore/io/ |
StructAddrinfo.java | 32 public int ai_family; field in class:StructAddrinfo
|
/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/net/base/ |
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.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);
|
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/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/chromium/net/websockets/ |
websocket_throttle.cc | 24 switch (addrinfo->ai_family) { 29 addrinfo->ai_family, 37 addrinfo->ai_family, 43 addrinfo->ai_family,
|
/system/extras/tests/bionic/libc/common/ |
test_getaddrinfo.c | 33 hints.ai_family = AF_UNSPEC;
|
/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,
|
/system/netd/ |
DnsProxyListener.cpp | 131 int ai_family = atoi(argv[4]); local 134 if (ai_flags != -1 || ai_family != -1 || 138 hints->ai_family = ai_family;
|
/bionic/libc/netbsd/net/ |
getaddrinfo.c | 64 * ai_family = PF_UNSPEC: 252 "ai_family not supported", /* EAI_FAMILY */ 468 hints == NULL ? -1 : hints->ai_family, 608 pai->ai_family = PF_UNSPEC; 625 switch (hints->ai_family) { 643 if (pai->ai_family != ex->e_af) 662 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1) 664 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1) 669 if (pai->ai_family == PF_UNSPEC) { 671 pai->ai_family = PF_INET6 [all...] |
/external/chromium/net/socket/ |
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;
|
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...] |
/external/ipsec-tools/src/racoon/ |
kmpstat.c | 222 hint.ai_family = PF_UNSPEC; 223 hint.ai_family = family;
|
/external/opencv/otherlibs/highgui/ |
cvcap_socket.cpp | 126 hints.ai_family = AF_UNSPEC; // use IPv4 or IPv6, whichever 218 int sockd = socket(pAddrInfo->ai_family, pAddrInfo->ai_socktype, pAddrInfo->ai_protocol);
|
/external/dropbear/ |
fake-rfc2553.h | 39 * that ai_family is AF_INET. Don't use it for another purpose. 126 int ai_family; /* PF_xxx */ member in struct:addrinfo
|
dbutil.c | 199 hints.ai_family = AF_UNSPEC; /* TODO: let them flag v4 only etc */ 238 socks[nsock] = socket(res->ai_family, res->ai_socktype, 318 hints.ai_family = PF_UNSPEC; 336 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
|
/system/core/libnetutils/ |
ifc_utils.c | 105 hints.ai_family = AF_UNSPEC; 881 hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ 892 if (addr_ai->ai_family == AF_INET6) { 894 } else if (addr_ai->ai_family == AF_INET) { 899 if (((addr_ai->ai_family == AF_INET6) && (prefix_length < 0 || prefix_length > 128)) || 900 ((addr_ai->ai_family == AF_INET) && (prefix_length < 0 || prefix_length > 32))) { 913 if (addr_ai->ai_family != gw_ai->ai_family) { 920 if (addr_ai->ai_family == AF_INET6) { 925 } else if (addr_ai->ai_family == AF_INET) [all...] |
/bionic/libc/include/ |
netdb.h | 115 int ai_family; /* PF_xxx */ member in struct:addrinfo 144 #define EAI_FAMILY 5 /* ai_family not supported */
|
/development/ndk/platforms/android-3/include/ |
netdb.h | 115 int ai_family; /* PF_xxx */ member in struct:addrinfo 147 #define EAI_FAMILY 5 /* ai_family not supported */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 115 int ai_family; /* PF_xxx */ member in struct:addrinfo 147 #define EAI_FAMILY 5 /* ai_family not supported */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 115 int ai_family; /* PF_xxx */ member in struct:addrinfo 147 #define EAI_FAMILY 5 /* ai_family not supported */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 115 int ai_family; /* PF_xxx */ member in struct:addrinfo 147 #define EAI_FAMILY 5 /* ai_family not supported */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 115 int ai_family; /* PF_xxx */ member in struct:addrinfo 147 #define EAI_FAMILY 5 /* ai_family not supported */
|