/netbsd-current/lib/libwrap/ |
H A D | hosts_access.c | 481 if (getaddrinfo(net_tok, "0", &hints, &res) == 0) { 496 if (getaddrinfo(mask_tok, "0", &hints, &res) == 0) { 540 if (getaddrinfo(string, "0", &hints, &res) == 0) {
|
/netbsd-current/external/bsd/libpcap/dist/ |
H A D | nametoaddr.c | 45 * To quote the MSDN page for getaddrinfo() at 49 * "Support for getaddrinfo on Windows 2000 and older versions 50 * The getaddrinfo function was added to the Ws2_32.dll on Windows XP and 54 * getaddrinfo function is defined to the WspiapiGetAddrInfo inline 57 * Wship6.dll (the file containing getaddrinfo in the IPv6 Technology 58 * Preview for Windows 2000) does not include getaddrinfo, then a 59 * version of getaddrinfo is implemented inline based on code in the 61 * platforms that do not natively support the getaddrinfo function." 63 * We use getaddrinfo(), so we include Wspiapi.h here. 179 * use getaddrinfo() an [all...] |
/netbsd-current/crypto/dist/ipsec-tools/src/racoon/ |
H A D | kmpstat.c | 226 error = getaddrinfo(name, port, &hint, &ai);
|
/netbsd-current/sbin/mount_nfs/ |
H A D | getnfsargs_small.c | 216 if ((ecode = getaddrinfo(hostp, "nfs", &hints, &ai_nfs)) != 0) {
|
/netbsd-current/usr.sbin/rip6query/ |
H A D | rip6query.c | 113 /* getaddrinfo is preferred for addr%scope syntax */ 118 error = getaddrinfo(argv[0], pbuf, &hints, &res);
|
/netbsd-current/external/bsd/unbound/dist/compat/ |
H A D | fake-rfc2553.c | 148 getaddrinfo(const char *hostname, const char *servname, function
|
/netbsd-current/external/bsd/nsd/dist/compat/ |
H A D | fake-rfc2553.c | 148 getaddrinfo(const char *hostname, const char *servname, function
|
/netbsd-current/external/apache2/mDNSResponder/dist/unittests/ |
H A D | unittest_common.c | 152 int err = getaddrinfo(name, NULL, NULL, &aiList); 153 if (err) fprintf(stderr, "getaddrinfo error %d for %s", err, name);
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | mini_inetd.c | 191 error = getaddrinfo (NULL, portstr, &hints, &ai); 193 errx (1, "getaddrinfo: %s", gai_strerror (error));
|
/netbsd-current/tests/lib/libc/net/getaddrinfo/ |
H A D | h_gai.c | 170 error = getaddrinfo(p, q, &ai, &res);
|
/netbsd-current/tests/lib/libpthread/ |
H A D | h_resolv.c | 107 error = getaddrinfo(host, NULL, NULL, &res);
|
/netbsd-current/usr.sbin/mountd/ |
H A D | get_net.c | 142 * because getaddrinfo() will parse them in the old style: 156 if (getaddrinfo(cp, NULL, &hints, &ai) == 0)
|
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/llvm-jitlink-executor/ |
H A D | llvm-jitlink-executor.cpp | 64 if (int EC = getaddrinfo(nullptr, PortStr.c_str(), &Hints, &AI)) { 69 // Create a socket from first addrinfo structure returned by getaddrinfo.
|
/netbsd-current/tests/net/inpcb/ |
H A D | inpcb_bind.c | 364 if ((error = getaddrinfo(baddr_s, bport_s, &hints, &baddr))) 365 errx(2, "getaddrinfo(%s,%s): %s", baddr_s, bport_s, 370 if ((error = getaddrinfo(NULL, bport_s, &hints, &any))) 371 errx(2, "getaddrinfo(NULL,%s): %s", bport_s, 385 if ((error = getaddrinfo(bmifa_s, NULL, &hints, &mifa))) 386 errx(2, "getaddrinfo(%s,NULL): %s", bmifa_s, 407 if ((error = getaddrinfo(bmifa_s, NULL, &hints, &mifa))) 408 errx(2, "getaddrinfo(%s,NULL): %s", bmifa_s,
|
/netbsd-current/external/mpl/bind/dist/lib/bind9/ |
H A D | getaddresses.c | 121 result = getaddrinfo(hostname, NULL, &hints, &ai);
|
/netbsd-current/usr.bin/ |
H A D | Makefile | 14 fsplit fstat ftp gcore genassym gencat getaddrinfo getconf getent \
|
/netbsd-current/include/ |
H A D | netdb.h | 237 * Error return codes from getaddrinfo() 259 * Flag values for getaddrinfo() 349 int getaddrinfo(const char * __restrict, const char * __restrict,
|
/netbsd-current/crypto/external/bsd/netpgp/dist/src/hkpd/ |
H A D | hkpd.c | 172 if ((rc = getaddrinfo(hostname, portstr, &hints, &res)) != 0) { 174 if ((rc = getaddrinfo(hostname, "hkp", &hints, &res)) != 0) { 175 (void) fprintf(stderr, "getaddrinfo: %s",
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | Makefile.am | 123 ## begin gnulib module getaddrinfo 125 libcvs_a_SOURCES += getaddrinfo.h 127 ## end gnulib module getaddrinfo
|
/netbsd-current/sbin/umount/ |
H A D | umount.c | 153 if (getaddrinfo(nfshost, NULL, &hints, &nfshost_ai) != 0) { 263 if (getaddrinfo(hostp, NULL, &hints, &ai) != 0)
|
/netbsd-current/usr.sbin/rpcbind/ |
H A D | util.c | 314 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) { 329 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
|
/netbsd-current/usr.sbin/lpr/common_source/ |
H A D | common.c | 159 error = getaddrinfo(hostname, port, &hints, &res); 384 error = getaddrinfo(gethost(RM), NULL, &hints, &res0);
|
/netbsd-current/external/bsd/iscsi/dist/src/lib/ |
H A D | util.c | 619 if ((error = getaddrinfo(NULL, portnum, &hints, &res0)) != 0) { 621 if ((error = getaddrinfo(NULL, "iscsi-target", &hints, 623 (error = getaddrinfo(NULL, "iscsi", &hints, &res0)) != 0) { 624 iscsi_err(__FILE__, __LINE__, "getaddrinfo: %s", 833 if ((rc = getaddrinfo(hostname, portstr, &hints, &res)) != 0) { 835 if ((rc = getaddrinfo(hostname, "iscsi-target", &hints, 837 (rc = getaddrinfo(hostname, "iscsi", &hints, 840 "getaddrinfo: %s", gai_strerror(rc));
|
/netbsd-current/lib/libc/net/ |
H A D | rcmd.c | 116 error = getaddrinfo(*ahost, pbuf, &hints, &res); 174 error = getaddrinfo(*ahost, pbuf, &hints, &res); 611 error = getaddrinfo(rhost, "0", &hints, &res); 940 error = getaddrinfo(lhost, "0", &hints, &res); 996 error = getaddrinfo(remotehost, "0", &hints, &res);
|
/netbsd-current/external/mpl/bind/dist/bin/check/ |
H A D | check-tool.c | 200 result = getaddrinfo(namebuf, NULL, &hints, &ai); 205 * Work around broken getaddrinfo() implementations that 244 "getaddrinfo(%s) failed: %s", namebuf, 403 result = getaddrinfo(namebuf, NULL, &hints, &ai); 408 * Work around broken getaddrinfo() implementations that 458 "getaddrinfo(%s) failed: %s", namebuf, 490 result = getaddrinfo(namebuf, NULL, &hints, &ai); 495 * Work around broken getaddrinfo() implementations that 545 "getaddrinfo(%s) failed: %s", namebuf,
|