Searched refs:getaddrinfo (Results 1 - 25 of 234) sorted by relevance

12345678910

/netbsd-current/lib/librumpres/
H A DMakefile21 SRCS= getaddrinfo.c getifaddrs.c getnameinfo.c
26 COPTS.getaddrinfo.c+= ${CC_WNO_STRINGOP_OVERFLOW}
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dnetdb.in.h98 our getaddrinfo replacement doesn't use them (yet). Setting them
100 system getaddrinfo implementations that would be confused by
113 /* Error values for 'getaddrinfo' function. */
148 GNULIB getaddrinfo() replacement, so are not yet needed.
164 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html>. */
167 # undef getaddrinfo macro
168 # define getaddrinfo rpl_getaddrinfo macro
170 _GL_FUNCDECL_RPL (getaddrinfo, int,
176 _GL_CXXALIAS_RPL (getaddrinfo, int,
183 _GL_FUNCDECL_SYS (getaddrinfo, in
196 _GL_CXXALIASWARN (getaddrinfo); variable
[all...]
/netbsd-current/external/bsd/unbound/dist/compat/
H A Dfake-rfc2553.h149 #ifdef getaddrinfo
150 # undef getaddrinfo macro
152 #define getaddrinfo(a,b,c,d) (getaddrinfo_unbound(a,b,c,d)) macro
153 int getaddrinfo(const char *, const char *,
/netbsd-current/external/bsd/nsd/dist/compat/
H A Dfake-rfc2553.h156 #ifdef getaddrinfo
157 # undef getaddrinfo macro
159 #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) macro
160 int getaddrinfo(const char *, const char *,
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dsocktohost.c67 a_info = getaddrinfo(pbuf, svc, &hints, &alist);
77 a_info = getaddrinfo(pbuf, svc, &hints, &alist);
83 a_info = getaddrinfo(pbuf, svc, &hints, &alist);
H A Dis_ip_address.c77 if (getaddrinfo(tmpbuf, NULL, &hints, &result) == 0) {
/netbsd-current/usr.bin/getaddrinfo/
H A DMakefile5 PROG= getaddrinfo
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dcanon-host.c30 #include "getaddrinfo.h"
47 getaddrinfo(). Use ch_strerror_r() or gai_strerror() to convert a *CHERROR
61 getaddrinfo spec <http://www.opengroup.org/susv3xsh/getaddrinfo.html">,
74 status = getaddrinfo (host, NULL, &hints, &res);
H A Dgetaddrinfo.h22 /* Get getaddrinfo declarations, if available. Also get 'socklen_t',
52 /* Error values for `getaddrinfo' function. */
77 <http://www.opengroup.org/susv3xsh/getaddrinfo.html>. */
78 extern int getaddrinfo (const char *restrict nodename,
85 <http://www.opengroup.org/susv3xsh/getaddrinfo.html>. */
88 /* Convert error return from getaddrinfo() to a string.
/netbsd-current/tests/lib/libc/net/getaddrinfo/
H A DMakefile7 TESTSDIR= ${TESTSBASE}/lib/libc/net/getaddrinfo
/netbsd-current/external/mpl/dhcp/bind/include/irs/
H A Dnetdb.h49 * Error return codes from getaddrinfo(). EAI_INSECUREDATA is our own extension
89 * Flag values for getaddrinfo()
156 #ifdef getaddrinfo
157 #undef getaddrinfo macro
159 #define getaddrinfo irs_getaddrinfo macro
172 getaddrinfo(const char *hostname, const char *servname,
/netbsd-current/usr.sbin/ypserv/common/
H A Dlocalhostname.c77 error = getaddrinfo(hostname, NULL, &hints, &res);
79 errx(1, "getaddrinfo(%s) failed: %s", hostname,
/netbsd-current/tests/lib/libc/net/
H A DMakefile7 TESTS_SUBDIRS+= getaddrinfo
/netbsd-current/external/mpl/dhcp/bind/dist/lib/irs/
H A DMakefile.in45 gai_strerror.@O@ getaddrinfo.@O@ getnameinfo.@O@ \
51 gai_strerror.c getaddrinfo.c getnameinfo.c \
/netbsd-current/lib/libc/net/
H A DMakefile.inc22 SRCS+= getaddrinfo.c getnameinfo.c
114 MAN+= gai_strerror.3 getaddrinfo.3 getnameinfo.3 if_indextoname.3 \
117 MLINKS+=getaddrinfo.3 freeaddrinfo.3 \
118 getaddrinfo.3 allocaddrinfo.3 \
154 COPTS.getaddrinfo.c+= ${CC_WNO_STRINGOP_OVERFLOW}
/netbsd-current/crypto/external/bsd/netpgp/dist/src/hkpclient/
H A Dhkpc.c57 if ((rc = getaddrinfo(hostname, portstr, &hints, &res)) != 0) {
59 if ((rc = getaddrinfo(hostname, "hkp", &hints, &res)) != 0) {
60 (void) fprintf(stderr, "getaddrinfo: %s",
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dexpand_hostname.c79 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
156 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
/netbsd-current/external/bsd/ntp/dist/scripts/lib/NTP/
H A DUtil.pm18 Socket->import(qw(getaddrinfo getnameinfo SOCK_RAW AF_INET));
76 ($err, $res) = getaddrinfo($host, '', {socktype => SOCK_RAW});
77 die "getaddrinfo failed: $err\n" if $err;
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dgethost.c66 getaddrinfo(name, NULL, &hints, &res);
/netbsd-current/lib/libform/
H A Dtype_ipv6.c68 if (getaddrinfo(args, "0", &hints, &res) != 0) {
/netbsd-current/lib/libwrap/
H A Dsocket.c190 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) == 0)
192 if (getaddrinfo(host->name, "0", &hints, &res0) == 0)
204 * by getaddrinfo(hostname).
206 * Verify also that getnameinfo() and getaddrinfo() return the same
209 * On some sites, getaddrinfo("localhost") returns "localhost.domain".
211 * can't believe the address list from getaddrinfo("localhost")
219 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) != 0)
221 if (getaddrinfo(host->name, "0", &hints, &res0) != 0)
229 tcpd_warn("can't verify hostname: getaddrinfo(%s, %d) failed",
235 * The getnameinfo() and getaddrinfo() call
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetnameinfo_verified.c76 ret = getaddrinfo (host, serv, &hints, &ai);
H A Dgetaddrinfo_hostspec.c40 /* getaddrinfo via string specifying host and port */
94 return getaddrinfo (host, portstr, &hints, ai);
/netbsd-current/external/mit/libuv/dist/test/
H A Dbenchmark-getaddrinfo.c66 BENCHMARK_IMPL(getaddrinfo) {
86 fprintf(stderr, "getaddrinfo: %.0f req/s\n",
/netbsd-current/usr.sbin/traceroute/
H A Das.c74 error = getaddrinfo(server, "whois", &hints, &res0);
77 error = getaddrinfo(server, "43", &hints, &res0);

Completed in 314 milliseconds

12345678910