Searched refs:getnameinfo (Results 1 - 25 of 131) sorted by path

123456

/freebsd-head/contrib/apr/
H A Dconfigure27901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
27902 $as_echo_n "checking for library containing getnameinfo... " >&6; }
27916 char getnameinfo ();
27920 return getnameinfo ();
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getnameinfo" >&5
28091 $as_echo_n "checking for working getnameinfo... " >&6; }
28132 error = getnameinfo((const struct sockaddr *)&sa, sizeof(sa),
28322 ipv6_result="no -- no getnameinfo"
/freebsd-head/contrib/apr/network_io/unix/
H A Dsockaddr.c651 /* don't know if it is portable for getnameinfo() to set h_errno;
655 /* default flags are NI_NAMREQD; otherwise, getnameinfo() will return
660 * getnameinfo() to avoid getnameinfo bugs (MacOS X, glibc).
673 rc = getnameinfo((const struct sockaddr *)&tmpsa, sizeof(tmpsa),
679 rc = getnameinfo((const struct sockaddr *)&sockaddr->sa, sockaddr->salen,
/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/contrib/dma/
H A Ddns.c115 getnameinfo((struct sockaddr *)&p->sa, p->ai.ai_addrlen,
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.c48 int getnameinfo(const struct sockaddr *sa, size_t ATTR_UNUSED(salen), char *host, function
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/lib9p/transport/
H A Dsocket.c158 err = getnameinfo(client_addr, client_addr_len, host, NI_MAXHOST, serv,
/freebsd-head/contrib/libevent/
H A Dconfigure14132 getnameinfo \
H A Dhttp.c4289 ni_result = getnameinfo(sa, salen,
4297 event_err(1, "getnameinfo failed");
4300 event_errx(1, "getnameinfo failed: %s", gai_strerror(ni_result));
/freebsd-head/contrib/libpcap/
H A Dpcap-rpcap.c1079 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, host,
1082 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1125 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL,
1128 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1625 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peeraddress,
1628 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1641 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, myaddress,
1644 sock_geterror("getnameinfo()", fp->errbuf, PCAP_ERRBUF_SIZE);
1656 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL, 0, mydataport, sizeof(mydataport), NI_NUMERICSERV))
1658 sock_geterror("getnameinfo()", f
[all...]
H A Dsockutils.c1435 * \param flags: a set of flags (the ones defined into the getnameinfo() standard socket function)
1474 * Winsock because the same result can be obtained by using the getnameinfo().
1484 * are the ones allowed in the standard getnameinfo() socket function.
1503 * \param flags: a set of flags (the ones defined into the getnameinfo() standard socket function)
1545 if (getnameinfo((struct sockaddr *) sockaddr, sockaddrlen, address, addrlen, port, portlen, flags) != 0)
1550 sock_geterror("getnameinfo()", errbuf, errbuflen);
H A Dsockutils.h60 int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,
/freebsd-head/contrib/libpcap/rpcapd/
H A Ddaemon.c1743 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, peerhost,
1746 sock_geterror("getnameinfo()", errmsgbuf, PCAP_ERRBUF_SIZE);
1776 if (getnameinfo((struct sockaddr *) &saddr, saddrlen, NULL,
1779 sock_geterror("getnameinfo()", errmsgbuf, PCAP_ERRBUF_SIZE);
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2590 INTERCEPTOR(int, getnameinfo, void *sockaddr, unsigned salen, char *host,
2593 COMMON_INTERCEPTOR_ENTER(ctx, getnameinfo, sockaddr, salen, host, hostlen,
2601 REAL(getnameinfo)(sockaddr, salen, host, hostlen, serv, servlen, flags);
2610 #define INIT_GETNAMEINFO COMMON_INTERCEPT_FUNCTION(getnameinfo);
/freebsd-head/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c69 error = getnameinfo(res->ai_addr, res->ai_addr->sa_len,
/freebsd-head/contrib/netbsd-tests/lib/libc/rpc/
H A Dt_rpc.c49 error = getnameinfo(sock, sock->sa_len, host, sizeof(host), NULL, 0, 0);
/freebsd-head/contrib/netcat/
H A Dnetcat.c1388 if ((herr = getnameinfo(sa, salen,
1393 err(1, "getnameinfo");
1395 errx(1, "getnameinfo: %s", gai_strerror(herr));
/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 Dntp_intres.c684 msyslog(LOG_ERR, "unable to queue getnameinfo request");
741 gni_resp->retcode = getnameinfo(&gni_req->socku.sa,
H A Dntp_rfc2553.c434 getnameinfo (const struct sockaddr *sa, u_int salen, char *host, function
H A Dsocktohost.c46 if (getnameinfo(&sock->sa, SOCKLEN(sock), pbuf, LIB_BUFLENGTH,
/freebsd-head/contrib/ntp/ntpdc/
H A Dntpdc.c1462 getnameinfo(&num->sa, SOCKLEN(num), fullhost,
1473 getnameinfo(&num->sa, SOCKLEN(num),
/freebsd-head/contrib/ntp/ntpq/
H A Dntpq.c1953 getnameinfo(&num->sa, SOCKLEN(num), fullhost,
1964 getnameinfo(&num->sa, SOCKLEN(num),
/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/contrib/ntp/sntp/libevent/
H A Dconfigure14105 getnameinfo \

Completed in 289 milliseconds

123456