Searched refs:getaddrinfo (Results 51 - 75 of 234) sorted by relevance

12345678910

/netbsd-current/lib/libwrap/
H A Dhosts_access.c481 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 Dnametoaddr.c45 * 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 Dkmpstat.c226 error = getaddrinfo(name, port, &hint, &ai);
/netbsd-current/sbin/mount_nfs/
H A Dgetnfsargs_small.c216 if ((ecode = getaddrinfo(hostp, "nfs", &hints, &ai_nfs)) != 0) {
/netbsd-current/usr.sbin/rip6query/
H A Drip6query.c113 /* getaddrinfo is preferred for addr%scope syntax */
118 error = getaddrinfo(argv[0], pbuf, &hints, &res);
/netbsd-current/external/bsd/unbound/dist/compat/
H A Dfake-rfc2553.c148 getaddrinfo(const char *hostname, const char *servname, function
/netbsd-current/external/bsd/nsd/dist/compat/
H A Dfake-rfc2553.c148 getaddrinfo(const char *hostname, const char *servname, function
/netbsd-current/external/apache2/mDNSResponder/dist/unittests/
H A Dunittest_common.c152 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 Dmini_inetd.c191 error = getaddrinfo (NULL, portstr, &hints, &ai);
193 errx (1, "getaddrinfo: %s", gai_strerror (error));
/netbsd-current/tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c170 error = getaddrinfo(p, q, &ai, &res);
/netbsd-current/tests/lib/libpthread/
H A Dh_resolv.c107 error = getaddrinfo(host, NULL, NULL, &res);
/netbsd-current/usr.sbin/mountd/
H A Dget_net.c142 * 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 Dllvm-jitlink-executor.cpp64 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 Dinpcb_bind.c364 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 Dgetaddresses.c121 result = getaddrinfo(hostname, NULL, &hints, &ai);
/netbsd-current/usr.bin/
H A DMakefile14 fsplit fstat ftp gcore genassym gencat getaddrinfo getconf getent \
/netbsd-current/include/
H A Dnetdb.h237 * 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 Dhkpd.c172 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 DMakefile.am123 ## begin gnulib module getaddrinfo
125 libcvs_a_SOURCES += getaddrinfo.h
127 ## end gnulib module getaddrinfo
/netbsd-current/sbin/umount/
H A Dumount.c153 if (getaddrinfo(nfshost, NULL, &hints, &nfshost_ai) != 0) {
263 if (getaddrinfo(hostp, NULL, &hints, &ai) != 0)
/netbsd-current/usr.sbin/rpcbind/
H A Dutil.c314 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
329 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
/netbsd-current/usr.sbin/lpr/common_source/
H A Dcommon.c159 error = getaddrinfo(hostname, port, &hints, &res);
384 error = getaddrinfo(gethost(RM), NULL, &hints, &res0);
/netbsd-current/external/bsd/iscsi/dist/src/lib/
H A Dutil.c619 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 Drcmd.c116 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 Dcheck-tool.c200 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,

Completed in 393 milliseconds

12345678910