Searched refs:inet_ntop (Results 126 - 150 of 193) sorted by relevance

12345678

/freebsd-11-stable/crypto/heimdal/appl/rsh/
H A Drsh.c617 as = inet_ntop (sa->sa_family, &((struct sockaddr_in*)sa)->sin_addr,
621 as = inet_ntop (sa->sa_family, &((struct sockaddr_in6*)sa)->sin6_addr,
H A Drshd.c383 if (inet_ntop (thataddr->sa_family,
/freebsd-11-stable/contrib/pf/ftp-proxy/
H A Dftp-proxy.c1120 return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
1127 return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
/freebsd-11-stable/lib/libc/resolv/
H A Dres_debug.c728 inet_ntop(AF_INET, &u.sin.sin_addr, ret, sizeof ret);
732 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret);
/freebsd-11-stable/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c781 str = inet_ntop(family, &addr->sin_addr, tmp, 50);
785 str = inet_ntop(family, &addr6->sin6_addr.s6_addr, tmp, 50);
793 strlcpy(buffer, "inet_ntop failed\n", length);
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Dxsrq_pingpong.c408 inet_ntop(AF_INET6, &local_gid, gid, sizeof(gid));
450 inet_ntop(AF_INET6, &rem_dest->gid, gid, sizeof(gid));
H A Drc_pingpong.c883 inet_ntop(AF_INET6, &my_dest.gid, gid, sizeof gid);
897 inet_ntop(AF_INET6, &rem_dest->gid, gid, sizeof gid);
/freebsd-11-stable/usr.sbin/ppp/
H A Droute.c100 inet_ntop(phost->sa_family, phost->sa_data, tmp, sizeof tmp);
103 inet_ntop(pmask->sa_family, pmask->sa_data, tmp, sizeof tmp);
/freebsd-11-stable/usr.sbin/jail/
H A Dconfig.c557 if (inet_ntop(AF_INET,
560 err(1, "inet_ntop");
571 if (inet_ntop(AF_INET6,
574 err(1, "inet_ntop");
/freebsd-11-stable/usr.sbin/route6d/
H A Droute6d.c1625 inet_ntop(AF_INET6, (void *)&ifac->ifac_raddr, buf,
2806 inet_ntop(AF_INET6, (const void *)gw, (char *)buf1, sizeof(buf1));
2807 inet_ntop(AF_INET6, (void *)&ifcp->ifc_mylladdr, (char *)buf2, sizeof(buf2));
2877 inet_ntop(AF_INET6, (void *)gw, (char *)buf2, sizeof(buf2));
2987 return inet_ntop(AF_INET6, (const void *)p, buf, sizeof(buf));
3052 inet_ntop(AF_INET6, (void *)&ifac->ifac_raddr,
3114 inet_ntop(AF_INET6, (void *)&rrt->rrt_info.rip6_dest,
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_sa_path_record.c1367 inet_ntop(AF_INET6, p_pr->dgid.raw,
1557 inet_ntop(AF_INET6, p_pr->sgid.raw,
1653 inet_ntop(AF_INET6, pr->dgid.raw, gid_str,
H A Dosm_sa_informinfo.c376 inet_ntop(AF_INET6, p_rcvd_rec->subscriber_gid.raw,
/freebsd-11-stable/release/picobsd/tinyware/ns/
H A Dns.c117 if (inet_ntop(AF_INET, &sin->sin_addr, str, sizeof(str))
171 err(1, "sock_ntop error"); /* inet_ntop() sets errno */
/freebsd-11-stable/tools/regression/sockets/udp_pingpong/
H A Dudp_pingpong.c293 inet_ntop(AF_INET6, sin6_addr, straddr, sizeof(straddr));
/freebsd-11-stable/usr.sbin/pppctl/
H A Dpppctl.c360 inet_ntop(sa->sa_family, addr, addrbuf, sizeof(addrbuf));
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_server.c1855 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf,
1987 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf,
2642 if (inet_ntop(AF_INET6, &cli->addr6, abuf,
2645 if (inet_ntop(AF_INET6, &cli->mask6, mbuf,
/freebsd-11-stable/contrib/wpa/src/common/
H A Dwpa_ctrl.c428 inet_ntop(AF_INET6, &ctrl->dest.sin6_addr, addr,
/freebsd-11-stable/usr.bin/netstat/
H A Dinet6.c1347 inet_ntop(AF_INET6, (void *)&sin6.sin6_addr, ntop_buf,
/freebsd-11-stable/contrib/unbound/sldns/
H A Dwire2str.c1096 if(!inet_ntop(AF_INET, *d, buf, (socklen_t)sizeof(buf)))
1110 if(!inet_ntop(AF_INET6, *d, buf, (socklen_t)sizeof(buf)))
1886 if(!inet_ntop(AF_INET, ip4, buf, (socklen_t)sizeof(buf))) {
1905 if(!inet_ntop(AF_INET6, ip6, buf, (socklen_t)sizeof(buf))) {
/freebsd-11-stable/lib/libjail/
H A Djail.c803 if (inet_ntop(AF_INET,
812 if (inet_ntop(AF_INET6,
/freebsd-11-stable/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c435 if(inet_ntop(AF_INET, address.data, buf, len)!=0)
438 if(inet_ntop(AF_INET6, address.data, buf, len)!=0)
/freebsd-11-stable/contrib/apr/
H A Dbuild-outputs.mk70 network_io/unix/inet_ntop.lo: network_io/unix/inet_ntop.c .make.dirs include/apr_allocator.h include/apr_errno.h include/apr_general.h include/apr_pools.h include/apr_strings.h include/apr_thread_mutex.h include/apr_time.h include/apr_want.h
79 OBJECTS_network_io_unix = network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/multicast.lo network_io/unix/sendrecv.lo network_io/unix/sockaddr.lo network_io/unix/socket_util.lo network_io/unix/sockets.lo network_io/unix/sockopt.lo
207 network_io/os2/inet_ntop.lo: network_io/os2/inet_ntop.c .make.dirs
217 OBJECTS_network_io_os2 = network_io/os2/inet_ntop.lo network_io/os2/inet_pton.lo network_io/os2/os2calls.lo network_io/os2/sendrecv.lo network_io/os2/sendrecv_udp.lo network_io/os2/sockaddr.lo network_io/os2/socket_util.lo network_io/os2/sockets.lo network_io/os2/sockopt.lo
290 OBJECTS_network_io_win32 = network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/multicast.lo network_io/unix/sockaddr.lo network_io/unix/socket_util.lo network_io/win32/sendrecv.lo network_io/win32/sockets.lo network_io/win32/sockopt.lo
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.c121 if(inet_ntop(addr->ai_family, sinaddr, buf,
1441 if(!inet_ntop(family, &in4->sin_addr, a4, sizeof(a4))) {
1442 log_err("inet_ntop failed");
1455 if(!inet_ntop(family, &in6->sin6_addr, a6, sizeof(a6))) {
1456 log_err("inet_ntop failed");
/freebsd-11-stable/usr.bin/truss/
H A Dsyscalls.c1178 inet_ntop(AF_INET, &lsin->sin_addr, addr, sizeof(addr));
1186 inet_ntop(AF_INET6, &lsin6->sin6_addr, addr,
1370 s = inet_ntop(AF_INET, addr, buf, INET_ADDRSTRLEN);
1383 s = inet_ntop(AF_INET6, addr, buf, INET6_ADDRSTRLEN);
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c1180 if (inet_ntop(af, ip, buf, SNMP_INADDRS_STRSZ) == NULL) {
1181 warn("inet_ntop failed");

Completed in 409 milliseconds

12345678