Symbol: inet_ntop
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1778
inet_ntop(AF_INET, &tmp.addr4, dest + p, IP_MAX);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1783
inet_ntop(AF_INET, &tmp.mask4, dest + p, IP_MAX);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1820
inet_ntop(AF_INET, &iph1->mode_cfg->addr4,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1841
inet_ntop(AF_INET, &iph1->mode_cfg->mask4,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1875
inet_ntop(AF_INET, &iph1->mode_cfg->dns4[0],
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1902
inet_ntop(AF_INET, &iph1->mode_cfg->wins4[0],
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
288
inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
289
inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
373
inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
374
inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
393
inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
404
inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
crypto/dist/ipsec-tools/src/racoon/plog.c
130
if (inet_ntop(sa->sa_family, addr, p + 1, reslen - 3) != NULL) {
dist/pf/libexec/tftp-proxy/tftp-proxy.c
394
return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
dist/pf/libexec/tftp-proxy/tftp-proxy.c
401
return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
dist/pf/sbin/pfctl/parse.y
4289
if (inet_ntop(af, &h->addr.v.a.addr, a,
dist/pf/sbin/pfctl/pf_print_state.c
90
if (inet_ntop(af, &addr->v.a.addr, buf,
dist/pf/sbin/pfctl/pfctl_optimize.c
1244
DEBUG("<%s> adding %s/%d", (*tbl)->pt_name, inet_ntop(af,
dist/pf/sbin/pfctl/pfctl_table.c
435
inet_ntop(ad->pfra_af, &ad->pfra_u, buf, sizeof(buf));
dist/pf/sbin/pfctl/pfctl_table.c
442
inet_ntop(rad->pfra_af, &rad->pfra_u, buf, sizeof(buf));
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
1148
return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
dist/pf/usr.sbin/ftp-proxy/ftp-proxy.c
1155
return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
include/arpa/inet.h
89
const char *inet_ntop(int, const void * __restrict,
lib/libc/inet/inet_ntoa.c
62
(void) inet_ntop(AF_INET, &in, ret, (socklen_t)sizeof ret);
lib/libc/inet/inet_ntop.c
49
__weak_alias(inet_ntop,_inet_ntop)
lib/libc/inet/inet_ntop.c
69
inet_ntop(int af, const void *src, char *dst, socklen_t size)
lib/libc/nameser/ns_print.c
166
N(inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen));
lib/libc/nameser/ns_print.c
336
N(inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen));
lib/libc/nameser/ns_print.c
428
N(inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen));
lib/libc/nameser/ns_print.c
699
N(inet_ntop(AF_INET6, &a, buf, (socklen_t)buflen));
lib/libc/nameser/ns_print.c
974
N(inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen));
lib/libc/nameser/ns_print.c
979
N(inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen));
lib/libc/net/gethnamaddr.c
1256
if (inet_ntop(af, uaddr, name, (socklen_t)sizeof(name)) == NULL)
lib/libc/net/getnameinfo.c
383
if (inet_ntop(afd->a_af, addr, numaddr,
lib/libc/net/getnameinfo.c
446
if (inet_ntop(afd->a_af, addr, host,
lib/libc/net/getnameinfo.c
468
if (inet_ntop(AF_INET6, addr, numaddr, (socklen_t)sizeof(numaddr))
lib/libc/net/sctp_sys_calls.c
104
if (inet_ntop(a->sa_family, srcaddr, stringToPrint,
lib/libc/resolv/res_debug.c
740
if (inet_ntop(AF_INET, &u.sin.sin_addr, ret,
lib/libc/resolv/res_debug.c
746
if (inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret,
lib/libc/rpc/rpc_generic.c
651
if (inet_ntop(af, &sinp->sin_addr, namebuf,
lib/libc/rpc/rpc_generic.c
665
if (inet_ntop(af, &sin6->sin6_addr, namebuf6,
libexec/ftpd/ftpd.c
2778
bp = inet_ntop(curclass.advertise.su_family,
sbin/efi/devpath3.c
116
if (inet_ntop(AF_INET, &addr, bp, INET_ADDRSTRLEN) == NULL)
sbin/efi/devpath3.c
138
if (inet_ntop(AF_INET6, addr, bp, INET6_ADDRSTRLEN) == NULL)
sbin/ping6/ping6.c
1676
if (!inet_ntop(AF_INET6, in6, ntopbuf,
sbin/ping6/ping6.c
1842
if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) ==
sbin/ping6/ping6.c
2158
if (!inet_ntop(AF_INET6, &red->nd_rd_dst, ntop_buf,
sbin/ping6/ping6.c
2162
if (!inet_ntop(AF_INET6, &red->nd_rd_target, ntop_buf,
sbin/ping6/ping6.c
2197
inet_ntop(AF_INET6, ni + 1, ntop_buf,
sbin/ping6/ping6.c
2225
inet_ntop(AF_INET, ni + 1, ntop_buf,
sbin/ping6/ping6.c
2294
if (!inet_ntop(AF_INET6, &ip6->ip6_src, ntop_buf, sizeof(ntop_buf)))
sbin/ping6/ping6.c
2297
if (!inet_ntop(AF_INET6, &ip6->ip6_dst, ntop_buf, sizeof(ntop_buf)))
sbin/ping6/ping6.c
2496
if (inet_ntop(AF_INET6, &in6, hbuf, sizeof(hbuf)) == NULL)
sbin/route/route.c
1738
which, inet_ntop(AF_INET6, &su->sin6.sin6_addr,
sbin/route/route.c
283
inet_ntop(family, &nsin6.sin6_addr, smask,
sys/dev/usb/if_umb.c
209
inet_ntop(int af, const void *src, char *dst, socklen_t size);
sys/dev/usb/if_umb.c
2671
inet_ntop(AF_INET, &satosin(sa)->sin_addr, s, sizeof(astr[0]));
sys/dev/usb/if_umb.c
2674
inet_ntop(AF_INET6, &satosin6(sa)->sin6_addr, s,
sys/fs/nfs/nlm/nlm_prot_impl.c
1071
inet_ntop(AF_INET,
sys/fs/nfs/nlm/nlm_prot_impl.c
1077
inet_ntop(AF_INET6,
tests/lib/libc/net/h_hostent.c
68
printf("%s%s", i == 0 ? "" : " ", inet_ntop(af,
tests/net/net/t_pktinfo_send.c
215
inet_ntop(AF_INET, &sa_before.sin_addr, ipbuf1, sizeof(ipbuf1));
tests/net/net/t_pktinfo_send.c
216
inet_ntop(AF_INET, &sa_after.sin_addr, ipbuf2, sizeof(ipbuf2));
usr.bin/fstat/fstat.c
955
if (inet_ntop(AF_INET, a, addr, sizeof(addr)) == NULL)
usr.bin/fstat/fstat.c
995
if (inet_ntop(AF_INET6, a, addr, sizeof(addr)) == NULL)
usr.bin/getent/getent.c
292
if (inet_ntop(he->h_addrtype, he->h_addr, buf, sizeof(buf)) == NULL)
usr.bin/getent/getent.c
386
if (inet_ntop(ne->n_addrtype, &ianet, buf, sizeof(buf)) == NULL)
usr.bin/netstat/inet6.c
254
inet_ntop(AF_INET6, &v6->laddr, buf[0], sizeof(buf[0]));
usr.bin/netstat/inet6.c
255
inet_ntop(AF_INET6, &v6->faddr, buf[1], sizeof(buf[1]));
usr.sbin/altq/libaltq/qop.c
985
inet_ntop(AF_INET6, &sfilt6->ff_flow6.fi6_dst,
usr.sbin/altq/libaltq/qop.c
987
inet_ntop(AF_INET6, &sfilt6->ff_mask6.mask6_dst,
usr.sbin/altq/libaltq/qop.c
991
inet_ntop(AF_INET6, &sfilt6->ff_flow6.fi6_src,
usr.sbin/altq/libaltq/qop.c
993
inet_ntop(AF_INET6, &sfilt6->ff_mask6.mask6_src,
usr.sbin/altq/libaltq/quip_server.c
343
inet_ntop(AF_INET6, &filt6->ff_flow6.fi6_dst,
usr.sbin/altq/libaltq/quip_server.c
350
inet_ntop(AF_INET6, &filt6->ff_mask6.mask6_dst,
usr.sbin/altq/libaltq/quip_server.c
359
inet_ntop(AF_INET6, &filt6->ff_flow6.fi6_src,
usr.sbin/altq/libaltq/quip_server.c
366
inet_ntop(AF_INET6, &filt6->ff_mask6.mask6_src,
usr.sbin/inetd/ratelimit.c
520
return inet_ntop(sep->se_family, (void*)&node->ipv4_addr,
usr.sbin/ldpd/ldp_errors.c
126
if (inet_ntop(AF_INET, &(sin->sin_addr), satos_str,
usr.sbin/ldpd/ldp_errors.c
135
if (inet_ntop(AF_INET6, &(sin6->sin6_addr), satos_str,
usr.sbin/mld6query/mld6.c
269
printf("from %s, ", inet_ntop(AF_INET6, &from.sin6_addr,
usr.sbin/mld6query/mld6.c
283
printf("addr=%s\n", inet_ntop(AF_INET6, &mld->mld6_addr,
usr.sbin/npf/npftest/npftest.c
276
rumpns_npf_test_init(inet_pton, inet_ntop, random);
usr.sbin/pf/pfs/pfs.c
236
if (inet_ntop(af, &(h->addr) , buf_addr, sizeof(buf_addr)) == NULL) {
usr.sbin/rip6query/rip6query.c
205
return inet_ntop(AF_INET6, addr, buf, sizeof(buf));
usr.sbin/route6d/route6d.c
1418
inet_ntop(AF_INET6, (void *)&ifa->ifa_raddr, buf, sizeof(buf));
usr.sbin/route6d/route6d.c
2563
inet_ntop(AF_INET6, (const void *)gw, (char *)buf1, sizeof(buf1));
usr.sbin/route6d/route6d.c
2564
inet_ntop(AF_INET6, (void *)&ifcp->ifc_mylladdr, (char *)buf2, sizeof(buf2));
usr.sbin/route6d/route6d.c
2631
inet_ntop(AF_INET6, (void *)gw, (char *)buf2, sizeof(buf2));
usr.sbin/route6d/route6d.c
2693
return inet_ntop(AF_INET6, (const void *)p, buf, sizeof(buf));
usr.sbin/route6d/route6d.c
2754
inet_ntop(AF_INET6, (void *)&ifa->ifa_raddr,
usr.sbin/route6d/route6d.c
2817
inet_ntop(AF_INET6, (void *)&rrt->rrt_info.rip6_dest,
usr.sbin/rtadvd/config.c
843
if (!inet_ntop(AF_INET6, &pp->prefix, ntopbuf,
usr.sbin/rtadvd/config.c
892
__func__, inet_ntop(AF_INET6, &prefix->prefix,
usr.sbin/rtadvd/config.c
915
inet_ntop(AF_INET6, &prefix->prefix, ntopbuf, INET6_ADDRSTRLEN),
usr.sbin/rtadvd/config.c
954
__func__, inet_ntop(AF_INET6, &prefix->prefix, ntopbuf,
usr.sbin/rtadvd/config.c
993
__func__, inet_ntop(AF_INET6, addr, ntopbuf, INET6_ADDRSTRLEN),
usr.sbin/rtadvd/dump.c
163
inet_ntop(AF_INET6, &pfx->prefix, prefixbuf,
usr.sbin/rtadvd/dump.c
216
inet_ntop(AF_INET6, &rti->prefix,
usr.sbin/rtadvd/dump.c
237
inet_ntop(AF_INET6, &rdnsa->addr,
usr.sbin/rtadvd/rtadvd.c
1048
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1064
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1078
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1100
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1114
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1128
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1143
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1158
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1172
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1221
inet_ntop(AF_INET6, &prefix,
usr.sbin/rtadvd/rtadvd.c
1224
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1234
inet_ntop(AF_INET6, &prefix,
usr.sbin/rtadvd/rtadvd.c
1237
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1262
inet_ntop(AF_INET6, &prefix,
usr.sbin/rtadvd/rtadvd.c
1266
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1277
inet_ntop(AF_INET6, &prefix,
usr.sbin/rtadvd/rtadvd.c
1281
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1298
inet_ntop(AF_INET6, &prefix,
usr.sbin/rtadvd/rtadvd.c
1302
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1313
inet_ntop(AF_INET6, &prefix,
usr.sbin/rtadvd/rtadvd.c
1317
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
615
inet_ntop(AF_INET6, addr,
usr.sbin/rtadvd/rtadvd.c
650
inet_ntop(AF_INET6, addr,
usr.sbin/rtadvd/rtadvd.c
817
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
usr.sbin/rtadvd/rtadvd.c
827
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
usr.sbin/rtadvd/rtadvd.c
837
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
usr.sbin/rtadvd/rtadvd.c
854
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
usr.sbin/rtadvd/rtadvd.c
864
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
usr.sbin/rtadvd/rtadvd.c
874
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
usr.sbin/rtadvd/rtadvd.c
906
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
919
inet_ntop(AF_INET6, &from->sin6_addr,
usr.sbin/srtconfig/srtconfig.c
118
printf(" %s",inet_ntop(r.af,&r.srcmatch,&obuf[0],sizeof(obuf)));
usr.sbin/srtconfig/srtconfig.c
126
printf(" %s",inet_ntop(AF_INET6,&r.dst.sin6.sin6_addr,&obuf[0],sizeof(obuf)));
usr.sbin/traceroute6/traceroute6.c
1006
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
usr.sbin/traceroute6/traceroute6.c
1091
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
usr.sbin/trpt/trpt.c
431
inet_ntop(family,
usr.sbin/trpt/trpt.c
441
inet_ntop(family,
usr.sbin/wgconfig/wgconfig.c
193
ntopret = inet_ntop(family, addr, ntopbuf, sizeof(ntopbuf));