Searched refs:getnameinfo (Results 1 - 25 of 130) sorted by relevance

123456

/freebsd-head/crypto/openssh/openbsd-compat/
H A Dport-aix.h108 # ifdef getnameinfo
109 # undef getnameinfo macro
113 # define getnameinfo(a,b,c,d,e,f,g) (sshaix_getnameinfo(a,b,c,d,e,f,g)) macro
H A Dfake-rfc2553.h170 #define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) macro
171 int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
H A Dport-aix.c409 # undef getnameinfo macro
411 * For some reason, AIX's getnameinfo will refuse to resolve the all-zeros
433 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
/freebsd-head/crypto/heimdal/lib/roken/
H A Dgetnameinfo_verified.c40 * similar to getnameinfo).
67 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen,
91 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen,
H A Dgetnameinfo.c95 getnameinfo(const struct sockaddr *sa, socklen_t salen, function
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dsock_principal.c54 ret = getnameinfo (sa, salen, hostname, sizeof(hostname), NULL, 0, 0);
58 krb5_set_error_message (context, ret2, "getnameinfo: %s", gai_strerror(ret));
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.h173 #define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) macro
174 int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
/freebsd-head/contrib/unbound/compat/
H A Dfake-rfc2553.h168 #define getnameinfo(a,b,c,d,e,f,g) (getnameinfo_unbound(a,b,c,d,e,f,g)) macro
169 int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
/freebsd-head/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm18 Socket->import(qw(getaddrinfo getnameinfo SOCK_RAW AF_INET));
79 ($err, $res) = getnameinfo($res->{addr}, 0);
80 die "getnameinfo failed: $err\n" if $err;
/freebsd-head/lib/libcasper/services/cap_dns/
H A Dcap_dns.h69 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
/freebsd-head/lib/libc/net/
H A DMakefile.inc11 getifaddrs.c getifmaddrs.c getnameinfo.c \
43 getnameinfo.3 getnetent.3 getprotoent.3 getservent.3 \
H A DSymbol.map36 getnameinfo;
/freebsd-head/crypto/openssh/
H A Dcanohost.c97 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop,
99 error("%s: getnameinfo %d failed: %s", __func__,
187 if ((r = getnameinfo((struct sockaddr *)&from, fromlen, NULL, 0,
189 fatal("%s: getnameinfo NI_NUMERICSERV failed: %s", __func__,
/freebsd-head/lib/libutil/
H A Drealhostname.c131 error = getnameinfo(addr, addrlen, buf, sizeof(buf), NULL, 0,
194 if (getnameinfo(addr, addrlen, buf, sizeof(buf), NULL, 0,
/freebsd-head/contrib/ntp/include/
H A Dntp_rfc2553.h215 int getnameinfo (const struct sockaddr *, u_int, char *,
221 * Constants for getnameinfo()
229 * Flag values for getnameinfo()
/freebsd-head/contrib/ntp/libntp/
H A Dsocktohost.c46 if (getnameinfo(&sock->sa, SOCKLEN(sock), pbuf, LIB_BUFLENGTH,
/freebsd-head/contrib/libpcap/
H A Dsockutils.h60 int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
/freebsd-head/lib/libnetbsd/
H A Dsockaddr_snprintf.c186 if (a && getnameinfo(sa, (socklen_t)salen, addr = abuf,
225 getnameinfo(sa, (socklen_t)salen, name = Abuf,
236 getnameinfo(sa, (socklen_t)salen, NULL, 0,
/freebsd-head/sbin/ifconfig/
H A Daf_inet.c59 static char addr_buf[NI_MAXHOST]; /*for getnameinfo()*/
81 error = getnameinfo((struct sockaddr *)sin, sin->sin_len, addr_buf,
193 if (getnameinfo(sa, sa->sa_len, src, sizeof(src), 0, 0, NI_NUMERICHOST) != 0)
200 if (getnameinfo(sa, sa->sa_len, dst, sizeof(dst), 0, 0, NI_NUMERICHOST) != 0)
/freebsd-head/contrib/tcp_wrappers/
H A Dsocket.c157 getnameinfo(sin, salen, host->addr, sizeof(host->addr),
209 err = getnameinfo(sin, salen, hname, sizeof(hname),
314 getnameinfo(sin, salen, hname, sizeof(hname),
/freebsd-head/contrib/blacklist/port/
H A Dsockaddr_snprintf.c236 if (a && getnameinfo(sa, (socklen_t)SLEN(sa), addr = abuf,
275 getnameinfo(sa, (socklen_t)SLEN(sa),
287 getnameinfo(sa, (socklen_t)SLEN(sa), NULL, 0,
/freebsd-head/crypto/heimdal/appl/login/
H A Dutmp_login.c69 ret = getnameinfo (ai->ai_addr, ai->ai_addrlen,
/freebsd-head/tools/tools/kttcp/
H A Dkttcp.c221 getnameinfo(res->ai_addr, res->ai_addrlen,
245 getnameinfo((struct sockaddr *)&ss, ss.ss_len,
/freebsd-head/usr.sbin/lpr/common_source/
H A Dnet.c233 if (getnameinfo(lr->ai_addr, lr->ai_addrlen, h1, sizeof(h1),
238 if (getnameinfo(rr->ai_addr, rr->ai_addrlen,
/freebsd-head/usr.sbin/lpr/lpd/
H A Dlpd.c667 error = getnameinfo(f, f->sa_len, hostbuf, sizeof(hostbuf), NULL, 0,
671 error = getnameinfo(f, f->sa_len, hostbuf, sizeof(hostbuf),
697 error = getnameinfo(f, f->sa_len, hostbuf, sizeof(hostbuf), NULL, 0,
739 error = getnameinfo(r->ai_addr, r->ai_addrlen, ip, sizeof(ip),
783 error = getnameinfo(f, f->sa_len, NULL, 0, serv, sizeof(serv),

Completed in 316 milliseconds

123456