Home
last modified time | relevance | path

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

12345

/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/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 …]
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/libpcap/
Dsockutils.c464 tempaddrinfo = tempaddrinfo->ai_next;
1137 struct addrinfo *addrinfo, *ai_next; local
1181 ai_next = addrinfo;
1182 while (ai_next)
1184 if (sock_cmpaddr(from, (struct sockaddr_storage *) ai_next->ai_addr) == 0)
1195 ai_next = ai_next->ai_next;
1478 if (addrinfo->ai_next != NULL)
Dpcap-rpcap.c950 …struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to it… in rpcap_remoteact_getsock() local
972 ai_next = addrinfo; in rpcap_remoteact_getsock()
973 while (ai_next) in rpcap_remoteact_getsock()
975 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in rpcap_remoteact_getsock()
982 ai_next = ai_next->ai_next; in rpcap_remoteact_getsock()
2848 …struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to it… in pcap_remoteact_close() local
2869 ai_next = addrinfo; in pcap_remoteact_close()
2870 while (ai_next) in pcap_remoteact_close()
2872 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in pcap_remoteact_close()
2924 ai_next = ai_next->ai_next; in pcap_remoteact_close()
Dnametoaddr.c322 for (ai = res; ai != NULL; ai = ai->ai_next) { in pcap_nametoport()
366 for (ai = res; ai != NULL; ai = ai->ai_next) { in pcap_nametoport()
/external/curl/lib/
Dcurl_addrinfo.c93 canext = ca->ai_next; in Curl_freeaddrinfo()
137 for(ai = aihead; ai != NULL; ai = ai->ai_next) { in Curl_getaddrinfo_ex()
174 ca->ai_next = NULL; in Curl_getaddrinfo_ex()
200 calast->ai_next = ca; in Curl_getaddrinfo_ex()
331 prevai->ai_next = ai; in Curl_he2ai()
608 for(ca = addrinfo; ca != NULL; ca = ca->ai_next) { in Curl_addrinfo_set_port()
Dhostip.c126 addr = addr->ai_next; in Curl_num_addresses()
371 nodes[i] = nodes[i-1]->ai_next; in Curl_shuffle_addr()
387 nodes[i-1]->ai_next = nodes[i]; in Curl_shuffle_addr()
390 nodes[num_addrs-1]->ai_next = NULL; in Curl_shuffle_addr()
946 tail->ai_next = ai; in Curl_loadhostpairs()
947 tail = tail->ai_next; in Curl_loadhostpairs()
Dcurl_addrinfo.h59 struct Curl_addrinfo *ai_next; member
Dconnect.c581 ai = conn->tempaddr[tempindex]->ai_next; in trynextip()
588 ai = conn->tempaddr[0]->ai_next; in trynextip()
596 ai = ai->ai_next; in trynextip()
602 ai = ai->ai_next; in trynextip()
942 conn->timeoutms_per_addr = conn->tempaddr[i]->ai_next == NULL ? in Curl_is_connected()
1315 conn->tempaddr[0]->ai_next == NULL ? timeout_ms : timeout_ms / 2; in Curl_connecthost()
1322 conn->tempaddr[0] = conn->tempaddr[0]->ai_next; in Curl_connecthost()
Dasyn-ares.c506 while(ai_tail->ai_next) in compound_results()
507 ai_tail = ai_tail->ai_next; in compound_results()
510 ai_tail->ai_next = res->temp_ai; in compound_results()
Dhostip6.c103 for(; ai; ai = ai->ai_next) { in dump_addrinfo()
/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/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/libevent/
Devutil.c849 r1->ai_next = r2; in evutil_new_addrinfo_()
879 while (ai->ai_next) in evutil_addrinfo_append_()
880 ai = ai->ai_next; in evutil_addrinfo_append_()
881 ai->ai_next = append; in evutil_addrinfo_append_()
1272 ai = ai->ai_next; in ai_find_protocol()
1334 for ( ; *ai; ai = &(*ai)->ai_next) { in apply_numeric_port_hack()
1346 *ai = victim->ai_next; in apply_numeric_port_hack()
1347 victim->ai_next = NULL; in apply_numeric_port_hack()
1357 for (; ai; ai = ai->ai_next) { in apply_socktype_protocol_hack()
1370 ai_new->ai_next = ai->ai_next; in apply_socktype_protocol_hack()
[all …]
/external/openssh/openbsd-compat/
Dfake-rfc2553.c115 next = ai->ai_next; in freeaddrinfo()
224 prev->ai_next = cur; in getaddrinfo()
Dfake-rfc2553.h146 struct addrinfo *ai_next; /* next structure in linked list */ member
/external/libevent/test/
Dregress_util.c796 ai = ai->ai_next; in ai_find_by_family()
807 ai = ai->ai_next; in ai_find_by_protocol()
942 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo()
953 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo()
966 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
975 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
984 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
994 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
Dregress_dns.c1507 tt_ptr_op(local_outcome.ai->ai_next,==,NULL); in test_getaddrinfo_async()
1606 tt_ptr_op(a->ai_next, ==, NULL); in test_getaddrinfo_async()
1722 tt_assert(a_out[0].ai->ai_next); in test_getaddrinfo_async()
1723 tt_assert(!a_out[0].ai->ai_next->ai_next); in test_getaddrinfo_async()
1736 tt_assert(! a_out[1].ai->ai_next); in test_getaddrinfo_async()
1744 tt_assert(! a_out[2].ai->ai_next); in test_getaddrinfo_async()
1750 tt_assert(! a_out[3].ai->ai_next); in test_getaddrinfo_async()
1756 tt_assert(! a_out[4].ai->ai_next); in test_getaddrinfo_async()
1770 tt_assert(! a_out[7].ai->ai_next); in test_getaddrinfo_async()
1794 tt_assert(! a_out[10].ai->ai_next); in test_getaddrinfo_async()
/external/curl/tests/unit/
Dunit1608.c36 addrs[i].ai_next = &addrs[i + 1]; in unit_setup()
/external/boringssl/src/crypto/bio/
Dsocket_helper.c64 for (cur = result; cur; cur = cur->ai_next) { in OPENSSL_MSVC_PRAGMA()

12345