Home
last modified time | relevance | path

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

12345678

/netbsd/external/bsd/libbind/dist/irs/
H A Dgetaddrinfo.c295 next = ai->ai_next;
353 pai->ai_next = NULL;
484 &cur->ai_next);
490 cur = cur->ai_next;
498 if (sentinel.ai_next)
580 cur = cur->ai_next;
600 if (sentinel.ai_next)
718 cur = cur->ai_next;
766 cur = cur->ai_next;
975 ai->ai_next = NULL;
[all …]
H A Ddns_ho.c648 cur->ai_next = ai; in ho_addrinfo()
649 while (cur->ai_next) in ho_addrinfo()
650 cur = cur->ai_next; in ho_addrinfo()
660 return(sentinel.ai_next); in ho_addrinfo()
922 if (cur->ai_next == NULL) in gethostans()
947 while (cur->ai_next) in gethostans()
948 cur = cur->ai_next; in gethostans()
953 aip = aip->ai_next) { in gethostans()
969 freeaddrinfo(cur->ai_next); in gethostans()
970 cur->ai_next = NULL; in gethostans()
[all …]
H A Dlcl_ho.c545 cur->ai_next = ai; in ho_addrinfo()
546 while (cur->ai_next) in ho_addrinfo()
547 cur = cur->ai_next; in ho_addrinfo()
551 if (sentinel.ai_next == NULL) in ho_addrinfo()
554 return(sentinel.ai_next); in ho_addrinfo()
H A Dnis_ho.c405 cur->ai_next = ai; in ho_addrinfo()
406 while (cur && cur->ai_next) in ho_addrinfo()
407 cur = cur->ai_next; in ho_addrinfo()
411 if (sentinel.ai_next == NULL) in ho_addrinfo()
414 return(sentinel.ai_next); in ho_addrinfo()
/netbsd/lib/libc/net/
H A Dgetaddrinfo.c373 next = ai->ai_next; in freeaddrinfo()
710 for (n = 0, ai = sentinel->ai_next; ai != NULL; ai = ai->ai_next, n++) in reorder()
731 for (i = 0, ai = sentinel->ai_next; i < n; ai = ai->ai_next, i++) { in reorder()
901 ai.ai_next = NULL; in set_source()
2012 t->ai_next = p->ai_next; in aisort()
2013 t = t->ai_next; in aisort()
2014 p->ai_next = p->ai_next->ai_next; in aisort()
2016 p = p->ai_next; in aisort()
2022 t->ai_next = s->ai_next; in aisort()
2023 s->ai_next = head.ai_next; in aisort()
[all …]
H A Drcmd.c225 if (r->ai_next) { in resrcmd()
226 r = r->ai_next; in resrcmd()
242 if (r->ai_next) { in resrcmd()
254 r = r->ai_next; in resrcmd()
615 for (r = res; r; r = r->ai_next) { in ruserok()
947 for (r = res; r; r = r->ai_next) { in __icheckhost()
1000 for (r = res; r; r = r->ai_next) { in __gethostloop()
/netbsd/external/mpl/bind/dist/lib/irs/
H A Dgetaddrinfo.c414 ai->ai_next = ai_list; in getaddrinfo()
427 ai->ai_next = ai_list; in getaddrinfo()
841 ai->ai_next = trans->ai_sentinel.ai_next; in process_answer()
1228 struct addrinfo *ai_next; in _freeaddrinfo() local
1231 ai_next = ai->ai_next; in _freeaddrinfo()
1239 ai = ai_next; in _freeaddrinfo()
1324 ai->ai_next = oai; in ai_clone()
1339 oai = oai->ai_next; in ai_reverse()
1343 tai->ai_next = nai; in ai_reverse()
1360 ai_tmp = ai_tmp->ai_next) in ai_concat()
[all …]
/netbsd/external/apache2/mDNSResponder/nss/
H A Dnss_mdnsd.c341 if (ctx->start.ai_next) { in _mdns_getaddrinfo_abs()
592 ctx->start.ai_next = NULL; in _mdns_addrinfo_init()
602 ctx->last->ai_next = ai; in _mdns_addrinfo_add_ai()
617 p = ctx->start.ai_next; in _mdns_addrinfo_done()
619 while (p->ai_next) { in _mdns_addrinfo_done()
621 t->ai_next = p->ai_next; in _mdns_addrinfo_done()
622 t = t->ai_next; in _mdns_addrinfo_done()
623 p->ai_next = p->ai_next->ai_next; in _mdns_addrinfo_done()
625 p = p->ai_next; in _mdns_addrinfo_done()
631 t->ai_next = ctx->start.ai_next; in _mdns_addrinfo_done()
[all …]
/netbsd/external/bsd/libpcap/dist/
H A Dsockutils.c451 tempaddrinfo = tempaddrinfo->ai_next; in sock_open()
1264 struct addrinfo *addrinfo, *ai_next; in sock_check_hostlist() local
1315 ai_next = addrinfo; in sock_check_hostlist()
1316 while (ai_next) in sock_check_hostlist()
1318 if (sock_cmpaddr(from, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in sock_check_hostlist()
1329 ai_next = ai_next->ai_next; in sock_check_hostlist()
1626 if (addrinfo->ai_next != NULL) in sock_present2network()
H A Dpcap-rpcap.c951 …struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to it… in rpcap_remoteact_getsock() local
973 ai_next = addrinfo; in rpcap_remoteact_getsock()
974 while (ai_next) in rpcap_remoteact_getsock()
976 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in rpcap_remoteact_getsock()
983 ai_next = ai_next->ai_next; in rpcap_remoteact_getsock()
2770 …struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to it… in pcap_remoteact_close() local
2791 ai_next = addrinfo; in pcap_remoteact_close()
2792 while (ai_next) in pcap_remoteact_close()
2794 if (sock_cmpaddr(&temp->host, (struct sockaddr_storage *) ai_next->ai_addr) == 0) in pcap_remoteact_close()
2846 ai_next = ai_next->ai_next; in pcap_remoteact_close()
/netbsd/external/mit/libuv/dist/src/win/
H A Dgetaddrinfo.c63 struct addrinfoW* ai_next; member
148 addrinfow_ptr = addrinfow_ptr->ai_next; in uv__getaddrinfo_done()
170 addrinfo_ptr->ai_next = NULL; in uv__getaddrinfo_done()
210 addrinfow_ptr = addrinfow_ptr->ai_next; in uv__getaddrinfo_done()
212 addrinfo_ptr->ai_next = (struct addrinfo*)cur_ptr; in uv__getaddrinfo_done()
371 req->addrinfow->ai_next = NULL; in uv_getaddrinfo()
/netbsd/usr.sbin/tcpdmatch/
H A Dtcpdmatch.c182 for (res = res0; res; res = res->ai_next) { in main()
212 if (res0 && !res0->ai_next) { in main()
245 for (res = res0; res; res = res->ai_next) { in main()
260 if (res->ai_next) in main()
/netbsd/external/mpl/bind/dist/bin/check/
H A Dcheck-tool.c214 cur->ai_next != NULL) in checkns()
216 cur = cur->ai_next; in checkns()
265 for (cur = ai; cur != NULL; cur = cur->ai_next) { in checkns()
298 for (cur = ai; cur != NULL; cur = cur->ai_next) { in checkns()
330 for (cur = ai; cur != NULL; cur = cur->ai_next) { in checkns()
417 cur->ai_next != NULL) in checkmx()
419 cur = cur->ai_next; in checkmx()
504 cur->ai_next != NULL) in checksrv()
506 cur = cur->ai_next; in checksrv()
/netbsd/external/ibm-public/postfix/dist/src/util/
H A Dmyaddrinfo.c266 ip->info.ai_next = 0; in init_ipv4addrinfo()
382 prev->info.ai_next = &(ip->info); in hostname_to_sockaddr_pf()
467 for (r = *res; r != 0; r = r->ai_next) in hostname_to_sockaddr_pf()
588 for (r = *res; r != 0; r = r->ai_next) in hostaddr_to_sockaddr()
770 next = ap->ai_next; in freeaddrinfo()
854 for (len = 0, ip = info; ip != 0; ip = ip->ai_next) in main()
857 for (len = 0, ip = info; ip != 0; ip = ip->ai_next) in main()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dntp_rfc2553.c187 ai_nxt = ai_src->ai_next; in copy_addrinfo_common()
206 ai_nxt = ai_src->ai_next; in copy_addrinfo_common()
219 if (NULL != ai_cpy->ai_next) { in copy_addrinfo_common()
221 ai_cpy->ai_next = NULL; in copy_addrinfo_common()
223 ai_cpy->ai_next = ai_cpy + 1; in copy_addrinfo_common()
H A Dntp_intres.c260 REQUIRE(NULL == hints->ai_next); in getaddrinfo_sometime_ex()
371 ai = ai->ai_next; in blocking_getaddrinfo()
422 ai = ai->ai_next; in blocking_getaddrinfo()
431 ai = ai->ai_next; in blocking_getaddrinfo()
442 ai = ai->ai_next; in blocking_getaddrinfo()
576 ai[i].ai_next = next_ai; in getaddrinfo_sometime_complete()
632 ai_res->ai_next)); in gai_test_callback()
636 ai_res = ai_res->ai_next; in gai_test_callback()
/netbsd/crypto/dist/ipsec-tools/src/setkey/
H A Dparse.y208 if ($3->ai_next || $4->ai_next) {
631 if (src->ai_next || dst->ai_next) {
677 if (src->ai_next || dst->ai_next) {
718 if (src->ai_next || dst->ai_next) {
1003 for (s = srcs; s; s = s->ai_next) { in setkeymsg_spdaddr()
1004 for (d = dsts; d; d = d->ai_next) { in setkeymsg_spdaddr()
1203 for (s = srcs; s; s = s->ai_next) { in setkeymsg_addr()
1204 for (d = dsts; d; d = d->ai_next) { in setkeymsg_addr()
1486 for (s = srcs; s; s = s->ai_next) { in setkeymsg_add()
1487 for (d = dsts; d; d = d->ai_next) { in setkeymsg_add()
/netbsd/external/ibm-public/postfix/dist/src/dns/
H A Ddns_sa_to_rr.c119 for (len = 0, res = res0; res != 0; res = res->ai_next) in main()
122 for (len = 0, res = res0; res != 0; res = res->ai_next) in main()
H A Ddns_rr_eq_sa.c133 for (len = 0, res = res0; res != 0; res = res->ai_next) in main()
136 for (len = 0, res = res0; res != 0; res = res->ai_next) in main()
/netbsd/usr.sbin/tcpdrop/
H A Dtcpdrop.c124 for (ail = laddr; ail; ail = ail->ai_next) { in main()
125 for (aif = faddr; aif; aif = aif->ai_next) { in main()
/netbsd/external/gpl3/gcc/dist/libcody/
H A Dnetclient.cc103 hints.ai_next = nullptr; in OpenInet6()
117 for (struct addrinfo *next = addrs; next; next = next->ai_next) in OpenInet6()
H A Dnetserver.cc110 hints.ai_next = nullptr; in ListenInet6()
126 for (struct addrinfo *next = addrs; next; next = next->ai_next) in ListenInet6()
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dexpand_hostname.c82 for (a = ai; a != NULL; a = a->ai_next) { in krb5_expand_hostname()
161 for (a = ai; a != NULL; a = a->ai_next) { in krb5_expand_hostname_realms()
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dmini_inetd.c100 for (nalloc = 0, a = ai; a != NULL; a = a->ai_next) in mini_inetd_addrinfo()
111 for (i = 0, a = ai; a != NULL; a = a->ai_next) { in mini_inetd_addrinfo()
/netbsd/external/bsd/libevent/dist/test/
H A Dregress_util.c860 ai = ai->ai_next; in ai_find_by_family()
871 ai = ai->ai_next; in ai_find_by_protocol()
1016 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo()
1027 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo()
1040 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1049 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1058 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1068 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo()
1214 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo_AI_ADDRCONFIG()
1223 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo_AI_ADDRCONFIG()

12345678