Searched refs:getnameinfo (Results 1 - 25 of 131) sorted by last modified time

123456

/freebsd-head/usr.sbin/mountd/
H A Dmountd.c894 if (getnameinfo(res->ai_addr,
1072 lookup_failed = getnameinfo(saddr, saddr->sa_len, host,
1075 getnameinfo(saddr, saddr->sa_len, numerichost,
2795 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, host,
3259 } else if (getnameinfo(sa, sa->sa_len, netname, sizeof netname,
/freebsd-head/contrib/lib9p/transport/
H A Dsocket.c158 err = getnameinfo(client_addr, client_addr_len, host, NI_MAXHOST, serv,
/freebsd-head/lib/libipsec/
H A Dpfkey_dump.c418 if (getnameinfo(sa, sa->sa_len, NULL, 0,
438 if (getnameinfo(sa, sa->sa_len, NULL, 0,
523 if (getnameinfo(sa, sa->sa_len, buf, sizeof(buf), NULL, 0, niflag) == 0)
/freebsd-head/usr.sbin/syslogd/
H A Dsyslogd.c2283 error = getnameinfo(f, f->sa_len, ip, sizeof(ip), NULL, 0,
2294 error = getnameinfo(f, f->sa_len, hname, sizeof(hname),
3498 getnameinfo(sstosa(&ap->a_addr),
3502 getnameinfo(sstosa(&ap->a_mask),
3560 if (getnameinfo(sa, sa->sa_len, ip, sizeof(ip), port, sizeof(port),
/freebsd-head/usr.bin/sockstat/
H A Dsockstat.c868 error = getnameinfo(sstosa(ss), ss->ss_len, addrstr,
871 errx(1, "getnameinfo()");
/freebsd-head/usr.bin/netstat/
H A Droute.c488 error = getnameinfo(sa, sa->sa_len, line, sizeof(line),
679 getnameinfo((struct sockaddr *)sa6, sa6->sin6_len, nline, sizeof(nline),
684 getnameinfo((struct sockaddr *)sa6, sa6->sin6_len, line,
H A Dinet6.c1348 error = getnameinfo((struct sockaddr *)&sin6, sizeof(sin6), hbuf,
/freebsd-head/lib/libcasper/services/cap_dns/
H A Dcap_dns.h74 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
/freebsd-head/usr.sbin/ypserv/
H A Dyp_main.c367 error = getnameinfo(sap, slen,
372 _msgout("getnameinfo(): %s",
/freebsd-head/usr.sbin/ctld/
H A Dctld.c2380 error = getnameinfo(client_sa, client_sa->sa_len,
2383 log_errx(1, "getnameinfo: %s", gai_strerror(error));
/freebsd-head/contrib/telnet/telnetd/
H A Dtelnetd.c691 err_ = getnameinfo(who, who->sa_len, remote_hostname,
/freebsd-head/sbin/ipfw/
H A Dipfw2.c1795 if (getnameinfo((const struct sockaddr *)&sa6->sa,
/freebsd-head/crypto/openssl/crypto/bio/
H A Db_addr.c27 * getnameinfo() and getaddrinfo(). If that macro doesn't exist,
204 if ((ret = getnameinfo(BIO_ADDR_sockaddr(ap),
221 /* VMS getnameinfo() has a bug, it doesn't fill in serv, which
/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/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/tnftp/src/
H A Dutil.c1353 if (getnameinfo(name, namelen,
1374 if (getnameinfo(ai->ai_addr, ai->ai_addrlen,
/freebsd-head/usr.bin/kdump/
H A Dkdump.c1829 getnameinfo((struct sockaddr *)&sa_in6, sizeof(sa_in6),
/freebsd-head/crypto/openssh/
H A Dauth.c780 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
823 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
H A Dchannels.c3427 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop),
3430 error("%s: getnameinfo failed", __func__);
4155 if (getnameinfo(cctx->ai->ai_addr, cctx->ai->ai_addrlen,
4158 error("connect_next: getnameinfo failed");
H A Dservconf.c2514 if ((r = getnameinfo(ai->ai_addr, ai->ai_addrlen, addr,
2517 error("getnameinfo: %.100s", ssh_gai_strerror(r));
H A Dssh.c340 if ((gaierr = getnameinfo(res->ai_addr, res->ai_addrlen,
H A Dsshconnect.c398 if ((r = getnameinfo((struct sockaddr *)&bindaddr, bindaddrlen,
400 error("%s: getnameinfo failed: %s", __func__,
530 if (getnameinfo(ai->ai_addr, ai->ai_addrlen,
534 error("%s: getnameinfo failed", __func__);
813 if (getnameinfo(hostaddr, addrlen,
815 fatal("%s: getnameinfo failed", __func__);
H A Dsshd.c1068 if ((ret = getnameinfo(ai->ai_addr, ai->ai_addrlen,
1071 error("getnameinfo failed: %.100s",
/freebsd-head/lib/libc/net/
H A Drcmd.c187 getnameinfo(ai->ai_addr, ai->ai_addrlen, paddr,
206 getnameinfo(ai->ai_addr, ai->ai_addrlen, paddr,
584 if (getnameinfo(raddr, salen, hname, sizeof(hname), NULL, 0,
708 if (getnameinfo(raddr, salen, h1, sizeof(h1), NULL, 0,
723 if (getnameinfo(r->ai_addr, r->ai_addrlen, h2, sizeof(h2),

Completed in 181 milliseconds

123456