/netbsd/external/bsd/libbind/dist/irs/ |
H A D | getaddrinfo.c | 295 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 D | dns_ho.c | 648 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 D | lcl_ho.c | 545 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 D | nis_ho.c | 405 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 D | getaddrinfo.c | 373 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 D | rcmd.c | 225 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 D | getaddrinfo.c | 414 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 D | nss_mdnsd.c | 341 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 D | sockutils.c | 451 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 D | pcap-rpcap.c | 951 …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 D | getaddrinfo.c | 63 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 D | tcpdmatch.c | 182 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 D | check-tool.c | 214 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 D | myaddrinfo.c | 266 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 D | ntp_rfc2553.c | 187 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 D | ntp_intres.c | 260 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 D | parse.y | 208 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 D | dns_sa_to_rr.c | 119 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 D | dns_rr_eq_sa.c | 133 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 D | tcpdrop.c | 124 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 D | netclient.cc | 103 hints.ai_next = nullptr; in OpenInet6() 117 for (struct addrinfo *next = addrs; next; next = next->ai_next) in OpenInet6()
|
H A D | netserver.cc | 110 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 D | expand_hostname.c | 82 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 D | mini_inetd.c | 100 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 D | regress_util.c | 860 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()
|