Searched refs:inet_ntop (Results 1 - 25 of 193) sorted by relevance

12345678

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Derr.inet_ntoa6badaddr.d37 printf("%s\n", inet_ntop(AF_INET6, ip6a));
H A Derr.inet_ntopbadaddr.d37 printf("%s\n", inet_ntop(AF_INET, ip4a));
H A Derr.inet_ntopbadarg.d39 printf("%s\n", inet_ntop(-1, ip4a));
H A Dtst.inet_ntop.d121 printf("%s\n", inet_ntop(AF_INET, ip4a));
122 printf("%s\n", inet_ntop(AF_INET, ip4b));
123 printf("%s\n", inet_ntop(AF_INET, ip4c));
124 printf("%s\n", inet_ntop(AF_INET, ip4d));
125 printf("%s\n", inet_ntop(AF_INET6, ip6a));
126 printf("%s\n", inet_ntop(AF_INET6, ip6b));
127 printf("%s\n", inet_ntop(AF_INET6, ip6c));
128 printf("%s\n", inet_ntop(AF_INET6, ip6d));
129 printf("%s\n", inet_ntop(AF_INET6, ip6e));
130 printf("%s\n", inet_ntop(AF_INET
[all...]
/freebsd-11-stable/lib/libc/inet/
H A Dinet_ntoa.c58 (void) inet_ntop(AF_INET, &in, ret, sizeof ret);
66 (void) inet_ntop(AF_INET, &in, buf, size);
H A DMakefile.inc8 inet_netof.c inet_network.c inet_ntoa.c inet_ntop.c \
H A Dinet_ntop.c19 static const char rcsid[] = "$Id: inet_ntop.c,v 1.5 2005/11/03 22:59:52 marka Exp $";
48 * inet_ntop(af, src, dst, size)
56 inet_ntop(int af, const void * __restrict src, char * __restrict dst, function
201 #undef inet_ntop macro
202 __weak_reference(__inet_ntop, inet_ntop);
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprinthost.c29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
H A Dprinthostmask.c31 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
H A Dprint_toif.c31 inet_ntop(AF_INET6, &fdp->fd_ip6, ipv6addr,
H A Dprintip.c34 str = inet_ntop(AF_INET6, addr, buf, sizeof(buf) - 1);
H A Dprintpoolfield.c52 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr,
57 PRINTF("%s", inet_ntop(node->ipe_family,
64 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr,
74 PRINTF("%s", inet_ntop(a->adf_family, &a->adf_addr,
79 PRINTF("%s", inet_ntop(node->ipe_family,
H A Dprintdstlistnode.c48 str = inet_ntop(AF_INET6, &np->ipfd_dest.fd_ip6,
59 str = inet_ntop(np->ipfd_dest.fd_addr.adf_family,
H A Dhostname.c54 (void) inet_ntop(AF_INET6, ip, hostbuf, sizeof(hostbuf) - 1);
/freebsd-11-stable/contrib/libpcap/testprogs/
H A Dfindalldevstest.c241 inet_ntop(AF_INET,
246 inet_ntop(AF_INET,
251 inet_ntop(AF_INET,
256 inet_ntop(AF_INET,
265 inet_ntop(AF_INET6,
270 inet_ntop(AF_INET6,
275 inet_ntop(AF_INET6,
280 inet_ntop(AF_INET6,
/freebsd-11-stable/usr.sbin/flowctl/
H A Dflowctl.c286 inet_ntop(AF_INET, &fle->r.r_src, src, sizeof(src));
287 inet_ntop(AF_INET, &fle->r.r_dst, dst, sizeof(dst));
320 inet_ntop(AF_INET6, &fle6->r.src.r_src6, src6, sizeof(src6));
321 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6));
353 inet_ntop(AF_INET, &fle->r.r_src, src, sizeof(src));
354 inet_ntop(AF_INET, &fle->r.r_dst, dst, sizeof(dst));
355 inet_ntop(AF_INET, &fle->next_hop, next, sizeof(next));
396 inet_ntop(AF_INET6, &fle6->r.src.r_src6, src6, sizeof(src6));
397 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6));
398 inet_ntop(AF_INET
[all...]
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dip_addr.c27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetnameinfo.c49 if (inet_ntop (af, addr, host, hostlen) == NULL)
64 } else if (inet_ntop (af, addr, host, hostlen) == NULL)
/freebsd-11-stable/include/arpa/
H A Dinet.h131 #define inet_ntop __inet_ntop macro
147 const char *inet_ntop(int, const void * __restrict, char * __restrict,
/freebsd-11-stable/usr.sbin/rtadvd/
H A Drrenum.c374 inet_ntop(AF_INET6, dst, ntopbuf, sizeof(ntopbuf)));
383 inet_ntop(AF_INET6, from, ntopbuf, sizeof(ntopbuf)));
392 __func__, rr->rr_segnum, inet_ntop(AF_INET6, from,
444 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0] ,sizeof(ntopbuf[0])),
445 inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])),
453 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0],
455 inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])),
474 inet_ntop(AF_INET6, &dst, ntopbuf[0], sizeof(ntopbuf[0])),
475 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[1],
H A Drtadvd.c622 inet_ntop(AF_INET6, addr,
651 __func__, inet_ntop(AF_INET6, addr,
809 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
819 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
828 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
844 inet_ntop(AF_INET6, &rcvfrom.sin6_addr,
854 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
864 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
873 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
917 inet_ntop(AF_INET
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dsocktoa.c51 inet_ntop(AF_INET, PSOCK_ADDR4(sock), res,
56 inet_ntop(AF_INET6, PSOCK_ADDR6(sock), res,
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d100 STRFUNC(inet_ntop(AF_INET, (void *)alloca(sizeof (ipaddr_t))))
/freebsd-11-stable/usr.sbin/rtsold/
H A Dprobe.c137 inet_ntop(AF_INET6, &p->rtaddr.sin6_addr, ntopbuf,
183 inet_ntop(AF_INET6, addr, ntopbuf, INET6_ADDRSTRLEN),
/freebsd-11-stable/tools/tools/ifpifa/
H A Difpifa.c166 inet_ntop(AF_INET, &sa.sa4->sin_addr,
171 inet_ntop(AF_INET6, &sa.sa6->sin6_addr,

Completed in 260 milliseconds

12345678