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

1234567891011>>

/freebsd-13-stable/usr.bin/getaddrinfo/
H A DMakefile5 PROG= getaddrinfo
6 SRCS= getaddrinfo.c tables.h
/freebsd-13-stable/contrib/unbound/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 *,
/freebsd-13-stable/contrib/ldns/compat/
H A Dfake-rfc2553.h154 #ifdef getaddrinfo
155 # undef getaddrinfo macro
157 #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) macro
158 int getaddrinfo(const char *, const char *,
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h151 #ifdef getaddrinfo
152 # undef getaddrinfo macro
154 #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) macro
155 int getaddrinfo(const char *, const char *,
/freebsd-13-stable/sbin/ping/tests/
H A Dping_test.sh35 if ! getaddrinfo -f inet localhost 1>/dev/null 2>&1; then
48 if ! getaddrinfo -f inet6 localhost 1>/dev/null 2>&1; then
61 if ! getaddrinfo -f inet6 localhost 1>/dev/null 2>&1; then
/freebsd-13-stable/contrib/ntp/libntp/
H A Dsocktohost.c65 a_info = getaddrinfo(pbuf, svc, &hints, &alist);
75 a_info = getaddrinfo(pbuf, svc, &hints, &alist);
81 a_info = getaddrinfo(pbuf, svc, &hints, &alist);
H A Dis_ip_address.c75 if (getaddrinfo(tmpbuf, NULL, &hints, &result) == 0) {
/freebsd-13-stable/contrib/bsnmp/lib/
H A Dsupport.h64 int getaddrinfo(const char *, const char *, const struct addrinfo *,
/freebsd-13-stable/contrib/ntp/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;
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dexpand_hostname.c80 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
160 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dgethost.c66 getaddrinfo(name, NULL, &hints, &res);
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c38 /* getaddrinfo via string specifying host and port */
92 return getaddrinfo (host, portstr, &hints, ai);
H A Dgetnameinfo_verified.c74 ret = getaddrinfo (host, serv, &hints, &ai);
H A Dgetaddrinfo-test.c81 ret = getaddrinfo (nodename, servname, &hints, &res);
/freebsd-13-stable/lib/libc/net/
H A DMakefile.inc9 gai_strerror.c getaddrinfo.c \
41 getaddrinfo.3 gai_strerror.3 gethostbyname.3 \
60 MLINKS+=getaddrinfo.3 freeaddrinfo.3
/freebsd-13-stable/contrib/traceroute/
H A Das.c75 error = getaddrinfo(server, "whois", &hints, &res0);
78 error = getaddrinfo(server, "43", &hints, &res0);
/freebsd-13-stable/crypto/heimdal/lib/ipc/
H A Dts-http.c85 ret = getaddrinfo(NULL, "8080", &hints, &res0);
/freebsd-13-stable/lib/libcasper/services/cap_dns/
H A Dcap_dns.h104 return (getaddrinfo(hostname, servname, hints, res));
/freebsd-13-stable/contrib/tnftp/
H A Dtnftp.h47 # define getaddrinfo non_rfc2553_getaddrinfo macro
49 # undef getaddrinfo macro
310 int getaddrinfo(const char *, const char *,
493 #define getaddrinfo Rgetaddrinfo macro
/freebsd-13-stable/contrib/ntp/include/
H A Dntp_rfc2553.h152 * Flag values for getaddrinfo()
195 * Error return codes from getaddrinfo()
213 int getaddrinfo (const char *, const char *,
/freebsd-13-stable/usr.sbin/pnfsdsfile/
H A Dpnfsdsfile.c101 if (getaddrinfo(hostn, NULL, NULL, &res) != 0)
104 if (getaddrinfo(cp, NULL, NULL, &newres) != 0)
128 if (getaddrinfo(optarg, NULL, NULL, &res) != 0)
137 if (getaddrinfo(optarg, NULL, NULL, &res) != 0)
/freebsd-13-stable/usr.sbin/lpr/common_source/
H A Dnet.c106 error = getaddrinfo(rhost, (rport == 0 ? "printer" : NULL),
209 if ((errno = getaddrinfo(lclhost, NULL, &hints, &local_res)) != 0) {
221 if ((errno = getaddrinfo(pp->remote_host, NULL,
/freebsd-13-stable/usr.sbin/nfsd/
H A Dnfsd.c336 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
338 err(1, "getaddrinfo udp: %s", gai_strerror(ecode));
360 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
362 err(1, "getaddrinfo udp6: %s", gai_strerror(ecode));
384 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
386 err(1, "getaddrinfo tcp: %s", gai_strerror(ecode));
408 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
410 err(1, "getaddrinfo tcp6: %s", gai_strerror(ecode));
542 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
544 syslog(LOG_ERR, "getaddrinfo ud
[all...]
/freebsd-13-stable/usr.bin/logger/
H A Dlogger.c293 error = getaddrinfo(hbuf, sbuf, &hints, &res0);
321 error = getaddrinfo(dst, svcname, &hints, &res0);
324 error = getaddrinfo(dst, "514", &hints, &res0);
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DSocketAddress.h90 // getaddrinfo() (or equivalent functions for systems that don't have
91 // getaddrinfo(). If "addr_info_ptr" is not NULL, it will get filled in with
94 getaddrinfo(const char *host, // Hostname ("foo.bar.com" or "foo" or IP

Completed in 307 milliseconds

1234567891011>>