Searched refs:getnameinfo (Results 51 - 75 of 131) sorted by relevance

123456

/freebsd-head/contrib/tnftp/
H A Dtnftp.h312 int getnameinfo(const struct sockaddr *, socklen_t,
/freebsd-head/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c212 if (getnameinfo((struct sockaddr *)&sin6, sin6.sin6_len,
/freebsd-head/contrib/ntp/libntp/
H A Dntp_rfc2553.c434 getnameinfo (const struct sockaddr *sa, u_int salen, char *host, function
/freebsd-head/lib/libc/tests/resolv/
H A Dresolv_test.c112 getnameinfo(res->ai_addr, res->ai_addrlen, hbuf, sizeof(hbuf),
/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/usr.sbin/ip6addrctl/
H A Dip6addrctl.c164 if ((getnameinfo((struct sockaddr *)&pol->addr,
167 warnx("getnameinfo for prefix address failed");
/freebsd-head/lib/libpam/modules/pam_unix/
H A Dpam_unix.c244 getnameinfo(res->ai_addr, res->ai_addrlen,
/freebsd-head/usr.sbin/ctld/
H A Ddiscovery.c183 ret = getnameinfo(ai->ai_addr, ai->ai_addrlen,
187 log_warnx("getnameinfo: %s", gai_strerror(ret));
/freebsd-head/usr.sbin/pnfsdsfile/
H A Dpnfsdsfile.c318 if (getnameinfo((struct sockaddr *)&dsfile[i].dsf_sin,
/freebsd-head/usr.sbin/tcpdrop/
H A Dtcpdrop.c188 rv = getnameinfo(sa, sa->sa_len, hs->hs_host, sizeof hs->hs_host,
191 err(1, "getnameinfo");
/freebsd-head/tools/tools/switch_tls/
H A Dswitch_tls.c186 rv = getnameinfo(sa, sa->sa_len, hs->hs_host, sizeof hs->hs_host,
189 err(1, "getnameinfo");
/freebsd-head/usr.sbin/rpc.statd/
H A Dprocs.c62 if (getnameinfo(saddr, saddr->sa_len, inet_buf, sizeof(inet_buf),
H A Dstatd.c503 if (getnameinfo(res->ai_addr,
/freebsd-head/contrib/lib9p/transport/
H A Dsocket.c158 err = getnameinfo(client_addr, client_addr_len, host, NI_MAXHOST, serv,
/freebsd-head/crypto/openssh/
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 Dauth.c780 if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
823 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
/freebsd-head/lib/libc/rpc/
H A Drpc_soc.c409 if (getnameinfo(syncaddr, syncaddr->sa_len, hostname,
/freebsd-head/share/examples/libifconfig/
H A Dstatus.c115 if (0 != getnameinfo((struct sockaddr *)addr.sin6, addr.sin6->sin6_len,
/freebsd-head/lib/libc/net/
H A Dgetnameinfo.c1 /* $KAME: getnameinfo.c,v 1.61 2002/06/27 09:25:47 itojun Exp $ */
115 getnameinfo(const struct sockaddr *sa, socklen_t salen, function
128 * getnameinfo() accepts an salen of sizeof(struct sockaddr_storage)
/freebsd-head/usr.bin/w/
H A Dw.c300 getnameinfo(res->ai_addr, res->ai_addrlen,
/freebsd-head/usr.sbin/ypserv/
H A Dyp_main.c367 error = getnameinfo(sap, slen,
372 _msgout("getnameinfo(): %s",
/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/usr.sbin/rpc.lockd/
H A Dlock_proc.c87 if (getnameinfo(addr , addr->sa_len, hostname_buf, sizeof hostname_buf,
241 error = getnameinfo(host_addr, host_addr->sa_len, host, sizeof host,
/freebsd-head/lib/libc/resolv/
H A Dres_send.c469 getnameinfo(nsap, nsaplen, abuf, sizeof(abuf),
1107 if (getnameinfo(address, alen, hbuf, sizeof(hbuf),
/freebsd-head/lib/libc/tests/sys/
H A Dsendfile_test.c152 error = getnameinfo(
156 "getnameinfo failed: %s", gai_strerror(error));
185 error = getnameinfo(
189 "getnameinfo failed: %s", gai_strerror(error));

Completed in 129 milliseconds

123456