Home
last modified time | relevance | path

Searched refs:ai_next (Results 1 – 25 of 127) sorted by relevance

123456

/external/python/cpython2/Modules/
Dgetaddrinfo.c215 next = ai->ai_next; in freeaddrinfo()
263 sentinel.ai_next = NULL; in getaddrinfo()
273 pai->ai_next = NULL; in getaddrinfo()
281 hints->ai_addr || hints->ai_next) in getaddrinfo()
393 GET_AI(cur->ai_next, gai_afd, gai_afd->a_addrany, port); in getaddrinfo()
398 GET_AI(cur->ai_next, gai_afd, gai_afd->a_loopback, in getaddrinfo()
404 cur = cur->ai_next; in getaddrinfo()
406 top = sentinel.ai_next; in getaddrinfo()
546 sentinel.ai_next = NULL;
609 GET_AI(cur->ai_next, &gai_afdl[N_INET6], ap, port);
[all …]
/external/python/cpython3/Modules/
Dgetaddrinfo.c215 next = ai->ai_next; in freeaddrinfo()
263 sentinel.ai_next = NULL; in getaddrinfo()
273 pai->ai_next = NULL; in getaddrinfo()
281 hints->ai_addr || hints->ai_next) in getaddrinfo()
393 GET_AI(cur->ai_next, gai_afd, gai_afd->a_addrany, port); in getaddrinfo()
398 GET_AI(cur->ai_next, gai_afd, gai_afd->a_loopback, in getaddrinfo()
404 cur = cur->ai_next; in getaddrinfo()
406 top = sentinel.ai_next; in getaddrinfo()
546 sentinel.ai_next = NULL;
609 GET_AI(cur->ai_next, &gai_afdl[N_INET6], ap, port);
[all …]
Daddrinfo.h135 struct addrinfo *ai_next; /* next structure in linked list */ member
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_query.hpp73 hints_.ai_next = 0; in basic_resolver_query()
110 hints_.ai_next = 0; in basic_resolver_query()
158 hints_.ai_next = 0; in basic_resolver_query()
209 hints_.ai_next = 0; in basic_resolver_query()
/external/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c91 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
129 for (pai = aires; pai; pai = pai->ai_next) in gaiv4()
168 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
212 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
280 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
334 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
431 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
490 for (pai = aires; pai; pai = pai->ai_next) { in gaiv4()
550 for (pai = aires; pai; pai = pai->ai_next) { in gaiv6()
588 for (pai = aires; pai; pai = pai->ai_next) in gaiv6()
[all …]
/external/curl/lib/
Dcurl_addrinfo.c87 canext = ca->ai_next; in Curl_freeaddrinfo()
130 for(ai = aihead; ai != NULL; ai = ai->ai_next) { in Curl_getaddrinfo_ex()
167 ca->ai_next = NULL; in Curl_getaddrinfo_ex()
183 calast->ai_next = ca; in Curl_getaddrinfo_ex()
306 prevai->ai_next = ai; in Curl_he2ai()
579 for(ca = addrinfo; ca != NULL; ca = ca->ai_next) { in Curl_addrinfo_set_port()
Dhostip.c127 addr = addr->ai_next; in Curl_num_addresses()
369 nodes[i] = nodes[i-1]->ai_next; in Curl_shuffle_addr()
385 nodes[i-1]->ai_next = nodes[i]; in Curl_shuffle_addr()
388 nodes[num_addrs-1]->ai_next = NULL; in Curl_shuffle_addr()
984 tail->ai_next = ai; in Curl_loadhostpairs()
985 tail = tail->ai_next; in Curl_loadhostpairs()
Dcurl_addrinfo.h58 struct Curl_addrinfo *ai_next; member
Dasyn-ares.c509 while(ai_tail->ai_next) in compound_results()
510 ai_tail = ai_tail->ai_next; in compound_results()
513 ai_tail->ai_next = res->temp_ai; in compound_results()
/external/libpcap/
Dsockutils.c472 tempaddrinfo = tempaddrinfo->ai_next; in sock_open()
1325 struct addrinfo *addrinfo, *ai_next; in sock_check_hostlist() local
1376 ai_next = addrinfo; in sock_check_hostlist()
1377 while (ai_next) in sock_check_hostlist()
1379 if (sock_cmpaddr(from, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in sock_check_hostlist()
1390 ai_next = ai_next->ai_next; in sock_check_hostlist()
1687 if (addrinfo->ai_next != NULL) in sock_present2network()
Dpcap-rpcap.c997 …struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to it… in rpcap_remoteact_getsock() local
1019 ai_next = addrinfo; in rpcap_remoteact_getsock()
1020 while (ai_next) in rpcap_remoteact_getsock()
1022 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in rpcap_remoteact_getsock()
1029 ai_next = ai_next->ai_next; in rpcap_remoteact_getsock()
2983 …struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to it… in pcap_remoteact_close() local
3004 ai_next = addrinfo; in pcap_remoteact_close()
3005 while (ai_next) in pcap_remoteact_close()
3007 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in pcap_remoteact_close()
3079 ai_next = ai_next->ai_next; in pcap_remoteact_close()
/external/toybox/lib/
Dnet.c46 for (ai = ai_arg; ai; ai = ai->ai_next) { in xconnbind()
47 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnbind()
51 else if (!ai->ai_next) perror_exit_raw(dobind ? "bind" : "connect"); in xconnbind()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dresolve_address_windows.cc103 for (resp = result; resp != NULL; resp = resp->ai_next) { in windows_blocking_resolve_address()
109 for (resp = result; resp != NULL; resp = resp->ai_next) { in windows_blocking_resolve_address()
Dresolve_address_posix.cc118 for (resp = result; resp != nullptr; resp = resp->ai_next) { in posix_blocking_resolve_address()
124 for (resp = result; resp != nullptr; resp = resp->ai_next) { in posix_blocking_resolve_address()
/external/grpc-grpc/src/core/lib/iomgr/
Dresolve_address_windows.cc104 for (resp = result; resp != NULL; resp = resp->ai_next) { in windows_blocking_resolve_address()
110 for (resp = result; resp != NULL; resp = resp->ai_next) { in windows_blocking_resolve_address()
Dresolve_address_posix.cc127 for (resp = result; resp != nullptr; resp = resp->ai_next) { in posix_blocking_resolve_address()
133 for (resp = result; resp != nullptr; resp = resp->ai_next) { in posix_blocking_resolve_address()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c115 next = ai->ai_next; in freeaddrinfo()
224 prev->ai_next = cur; in getaddrinfo()
/external/libevent/test/
Dregress_util.c855 ai = ai->ai_next; in ai_find_by_family()
866 ai = ai->ai_next; in ai_find_by_protocol()
1011 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo()
1022 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo()
1035 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1044 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1053 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1063 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1209 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo_AI_ADDRCONFIG()
1218 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo_AI_ADDRCONFIG()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_ipv6.h45 struct addrinfo *ai_next; member
/external/libevent/
Devutil.c853 r1->ai_next = r2; in evutil_new_addrinfo_()
883 while (ai->ai_next) in evutil_addrinfo_append_()
884 ai = ai->ai_next; in evutil_addrinfo_append_()
885 ai->ai_next = append; in evutil_addrinfo_append_()
1279 ai = ai->ai_next; in ai_find_protocol()
1341 for ( ; *ai; ai = &(*ai)->ai_next) { in apply_numeric_port_hack()
1353 *ai = victim->ai_next; in apply_numeric_port_hack()
1354 victim->ai_next = NULL; in apply_numeric_port_hack()
1364 for (; ai; ai = ai->ai_next) { in apply_socktype_protocol_hack()
1377 ai_new->ai_next = ai->ai_next; in apply_socktype_protocol_hack()
[all …]
/external/curl/tests/unit/
Dunit1608.c36 addrs[i].ai_next = &addrs[i + 1]; in unit_setup()
/external/libwebsockets/minimal-examples/api-tests/api-test-async-dns/
Dmain.c153 ac = ac->ai_next; in cb1()
179 ac = ac->ai_next; in cb1()
/external/libwebsockets/lib/system/async-dns/
Dasync-dns-parse.c475 adst->prev->ai_next = adst->pos; in lws_async_dns_store()
488 adst->pos->ai_next = NULL; in lws_async_dns_store()
651 q->last = &adst.prev->ai_next; in lws_adns_parse_udp()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/
Dsocket_helper.c64 for (cur = result; cur; cur = cur->ai_next) { in OPENSSL_MSVC_PRAGMA()
/external/boringssl/src/crypto/bio/
Dsocket_helper.c68 for (cur = result; cur; cur = cur->ai_next) { in OPENSSL_MSVC_PRAGMA()

123456