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

12345678

/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h150 #ifdef getaddrinfo
151 # undef getaddrinfo macro
153 #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) macro
154 int getaddrinfo(const char *, const char *,
/freebsd-9.3-release/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-9.3-release/contrib/bsnmp/lib/
H A Dsupport.h64 int getaddrinfo(const char *, const char *, const struct addrinfo *,
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dexpand_hostname.c71 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
137 error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
/freebsd-9.3-release/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-9.3-release/contrib/bind9/lib/export/samples/
H A Dsample-gai.c40 error = getaddrinfo(hostname, "http", &hints, &res0);
42 fprintf(stderr, "getaddrinfo failed for %s,family=%d: %s\n",
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c41 /* getaddrinfo via string specifying host and port */
95 return getaddrinfo (host, portstr, &hints, ai);
H A Dgetnameinfo_verified.c75 ret = getaddrinfo (host, serv, &hints, &ai);
H A Dgetaddrinfo-test.c36 RCSID("$Id: getaddrinfo-test.c 15930 2005-08-12 13:42:17Z lha $");
81 ret = getaddrinfo (nodename, servname, &hints, &res);
H A Dmini_inetd.c141 error = getaddrinfo (NULL, portstr, &hints, &ai);
143 errx (1, "getaddrinfo: %s", gai_strerror (error));
/freebsd-9.3-release/lib/libc/net/
H A DMakefile.inc8 gai_strerror.c getaddrinfo.c \
44 getaddrinfo.3 gai_strerror.3 gethostbyname.3 \
63 MLINKS+=getaddrinfo.3 freeaddrinfo.3
H A Drcmdsh.c92 error = getaddrinfo(*ahost, num, &hints, &res);
94 fprintf(stderr, "rcmdsh: getaddrinfo: %s\n",
/freebsd-9.3-release/contrib/traceroute/
H A Das.c75 error = getaddrinfo(server, "whois", &hints, &res0);
78 error = getaddrinfo(server, "43", &hints, &res0);
/freebsd-9.3-release/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-9.3-release/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-9.3-release/crypto/heimdal/appl/rsh/
H A Drsh.c806 error = getaddrinfo (NULL, "0", &hints, &eai);
808 errx (1, "getaddrinfo: %s", gai_strerror(error));
1051 error = getaddrinfo(host, "kshell", &hints, &ai);
1053 error = getaddrinfo(host, "544", &hints, &ai);
1055 error = getaddrinfo(host, port_str, &hints, &ai);
1058 errx (1, "getaddrinfo: %s", gai_strerror(error));
1080 error = getaddrinfo(host, "ekshell", &hints, &ai);
1082 error = getaddrinfo(host, "545", &hints, &ai);
1084 error = getaddrinfo(host, "kshell", &hints, &ai);
1086 error = getaddrinfo(hos
[all...]
/freebsd-9.3-release/lib/bind/lwres/lwres/
H A Dnetdb.h77 * Error return codes from getaddrinfo()
111 * Flag values for getaddrinfo()
220 #ifdef getaddrinfo
221 #undef getaddrinfo macro
223 #define getaddrinfo lwres_getaddrinfo macro
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Dnet.c105 err = getaddrinfo(rhost, (rport == 0 ? "printer" : NULL),
208 if ((error = getaddrinfo(lclhost, NULL, &hints, &local_res)) != 0) {
220 if ((error = getaddrinfo(pp->remote_host, NULL,
/freebsd-9.3-release/usr.sbin/nfsd/
H A Dnfsd.c270 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
272 err(1, "getaddrinfo udp: %s", gai_strerror(ecode));
289 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
291 err(1, "getaddrinfo udp6: %s", gai_strerror(ecode));
308 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
310 err(1, "getaddrinfo tcp: %s", gai_strerror(ecode));
327 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
329 err(1, "getaddrinfo tcp6: %s", gai_strerror(ecode));
491 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
493 syslog(LOG_ERR, "getaddrinfo ud
[all...]
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dhosts_access.c370 if ((ret = getaddrinfo(tok + 1, NULL, &hints, &res)) == 0) {
375 if (ret != 0 || getaddrinfo(string, NULL, &hints, &res) != 0)
455 if (getaddrinfo(string, NULL, &hints, &res) != 0)
473 if (getaddrinfo(net_tok + 1, NULL, &hints, &res) != 0) {
H A Dscaffold.c95 if (getaddrinfo(host, NULL, &hints, &res) == 0)
102 if (getaddrinfo(host, NULL, &hints, &res) != 0) {
H A Dsocket.c221 if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) {
250 if (getaddrinfo(host->name, NULL, &hints, &res0) != 0) {
257 tcpd_warn("can't verify hostname: getaddrinfo(%s, %s) failed",
/freebsd-9.3-release/crypto/heimdal/appl/login/
H A Dutmp_login.c64 ret = getaddrinfo (hostname, NULL, NULL, &ai);

Completed in 160 milliseconds

12345678