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

12345678910

/freebsd-head/usr.bin/getaddrinfo/
H A DMakefile5 PROG= getaddrinfo
6 SRCS= getaddrinfo.c tables.h
/freebsd-head/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-head/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-head/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-head/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 Ddecodenetnum.c75 err = getaddrinfo(cp, "ntp", &hints, &ai);
H A Dis_ip_address.c75 if (getaddrinfo(tmpbuf, NULL, &hints, &result) == 0) {
/freebsd-head/sbin/ping/tests/
H A Dping_test.sh35 if ! getaddrinfo -f inet localhost 1>/dev/null 2>&1; then
/freebsd-head/sbin/ping6/tests/
H A Dping6_test.sh35 if ! getaddrinfo -f inet6 localhost 1>/dev/null 2>&1; then
/freebsd-head/contrib/bsnmp/lib/
H A Dsupport.h64 int getaddrinfo(const char *, const char *, const struct addrinfo *,
/freebsd-head/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-head/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-head/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-head/contrib/ipfilter/lib/
H A Dgethost.c66 getaddrinfo(name, NULL, &hints, &res);
/freebsd-head/lib/libcasper/services/cap_dns/
H A Dcap_dns.h67 getaddrinfo(hostname, servname, hints, res)
/freebsd-head/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-head/contrib/traceroute/
H A Das.c75 error = getaddrinfo(server, "whois", &hints, &res0);
78 error = getaddrinfo(server, "43", &hints, &res0);
/freebsd-head/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-head/crypto/heimdal/lib/ipc/
H A Dts-http.c85 ret = getaddrinfo(NULL, "8080", &hints, &res0);
/freebsd-head/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-head/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-head/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-head/usr.sbin/nfsd/
H A Dnfsd.c330 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
332 err(1, "getaddrinfo udp: %s", gai_strerror(ecode));
354 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
356 err(1, "getaddrinfo udp6: %s", gai_strerror(ecode));
378 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
380 err(1, "getaddrinfo tcp: %s", gai_strerror(ecode));
402 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
404 err(1, "getaddrinfo tcp6: %s", gai_strerror(ecode));
536 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
538 syslog(LOG_ERR, "getaddrinfo ud
[all...]

Completed in 303 milliseconds

12345678910