inet_ntop
inet_ntop(AF_INET, &tmp.addr4, dest + p, IP_MAX);
inet_ntop(AF_INET, &tmp.mask4, dest + p, IP_MAX);
inet_ntop(AF_INET, &iph1->mode_cfg->addr4,
inet_ntop(AF_INET, &iph1->mode_cfg->mask4,
inet_ntop(AF_INET, &iph1->mode_cfg->dns4[0],
inet_ntop(AF_INET, &iph1->mode_cfg->wins4[0],
inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
if (inet_ntop(sa->sa_family, addr, p + 1, reslen - 3) != NULL) {
return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
if (inet_ntop(af, &h->addr.v.a.addr, a,
if (inet_ntop(af, &addr->v.a.addr, buf,
DEBUG("<%s> adding %s/%d", (*tbl)->pt_name, inet_ntop(af,
inet_ntop(ad->pfra_af, &ad->pfra_u, buf, sizeof(buf));
inet_ntop(rad->pfra_af, &rad->pfra_u, buf, sizeof(buf));
return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
const char *inet_ntop(int, const void * __restrict,
(void) inet_ntop(AF_INET, &in, ret, (socklen_t)sizeof ret);
__weak_alias(inet_ntop,_inet_ntop)
inet_ntop(int af, const void *src, char *dst, socklen_t size)
N(inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen));
N(inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen));
N(inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen));
N(inet_ntop(AF_INET6, &a, buf, (socklen_t)buflen));
N(inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen));
N(inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen));
if (inet_ntop(af, uaddr, name, (socklen_t)sizeof(name)) == NULL)
if (inet_ntop(afd->a_af, addr, numaddr,
if (inet_ntop(afd->a_af, addr, host,
if (inet_ntop(AF_INET6, addr, numaddr, (socklen_t)sizeof(numaddr))
if (inet_ntop(a->sa_family, srcaddr, stringToPrint,
if (inet_ntop(AF_INET, &u.sin.sin_addr, ret,
if (inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret,
if (inet_ntop(af, &sinp->sin_addr, namebuf,
if (inet_ntop(af, &sin6->sin6_addr, namebuf6,
bp = inet_ntop(curclass.advertise.su_family,
if (inet_ntop(AF_INET, &addr, bp, INET_ADDRSTRLEN) == NULL)
if (inet_ntop(AF_INET6, addr, bp, INET6_ADDRSTRLEN) == NULL)
if (!inet_ntop(AF_INET6, in6, ntopbuf,
if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) ==
if (!inet_ntop(AF_INET6, &red->nd_rd_dst, ntop_buf,
if (!inet_ntop(AF_INET6, &red->nd_rd_target, ntop_buf,
inet_ntop(AF_INET6, ni + 1, ntop_buf,
inet_ntop(AF_INET, ni + 1, ntop_buf,
if (!inet_ntop(AF_INET6, &ip6->ip6_src, ntop_buf, sizeof(ntop_buf)))
if (!inet_ntop(AF_INET6, &ip6->ip6_dst, ntop_buf, sizeof(ntop_buf)))
if (inet_ntop(AF_INET6, &in6, hbuf, sizeof(hbuf)) == NULL)
which, inet_ntop(AF_INET6, &su->sin6.sin6_addr,
inet_ntop(family, &nsin6.sin6_addr, smask,
inet_ntop(int af, const void *src, char *dst, socklen_t size);
inet_ntop(AF_INET, &satosin(sa)->sin_addr, s, sizeof(astr[0]));
inet_ntop(AF_INET6, &satosin6(sa)->sin6_addr, s,
inet_ntop(AF_INET,
inet_ntop(AF_INET6,
printf("%s%s", i == 0 ? "" : " ", inet_ntop(af,
inet_ntop(AF_INET, &sa_before.sin_addr, ipbuf1, sizeof(ipbuf1));
inet_ntop(AF_INET, &sa_after.sin_addr, ipbuf2, sizeof(ipbuf2));
if (inet_ntop(AF_INET, a, addr, sizeof(addr)) == NULL)
if (inet_ntop(AF_INET6, a, addr, sizeof(addr)) == NULL)
if (inet_ntop(he->h_addrtype, he->h_addr, buf, sizeof(buf)) == NULL)
if (inet_ntop(ne->n_addrtype, &ianet, buf, sizeof(buf)) == NULL)
inet_ntop(AF_INET6, &v6->laddr, buf[0], sizeof(buf[0]));
inet_ntop(AF_INET6, &v6->faddr, buf[1], sizeof(buf[1]));
inet_ntop(AF_INET6, &sfilt6->ff_flow6.fi6_dst,
inet_ntop(AF_INET6, &sfilt6->ff_mask6.mask6_dst,
inet_ntop(AF_INET6, &sfilt6->ff_flow6.fi6_src,
inet_ntop(AF_INET6, &sfilt6->ff_mask6.mask6_src,
inet_ntop(AF_INET6, &filt6->ff_flow6.fi6_dst,
inet_ntop(AF_INET6, &filt6->ff_mask6.mask6_dst,
inet_ntop(AF_INET6, &filt6->ff_flow6.fi6_src,
inet_ntop(AF_INET6, &filt6->ff_mask6.mask6_src,
return inet_ntop(sep->se_family, (void*)&node->ipv4_addr,
if (inet_ntop(AF_INET, &(sin->sin_addr), satos_str,
if (inet_ntop(AF_INET6, &(sin6->sin6_addr), satos_str,
printf("from %s, ", inet_ntop(AF_INET6, &from.sin6_addr,
printf("addr=%s\n", inet_ntop(AF_INET6, &mld->mld6_addr,
rumpns_npf_test_init(inet_pton, inet_ntop, random);
if (inet_ntop(af, &(h->addr) , buf_addr, sizeof(buf_addr)) == NULL) {
return inet_ntop(AF_INET6, addr, buf, sizeof(buf));
inet_ntop(AF_INET6, (void *)&ifa->ifa_raddr, buf, sizeof(buf));
inet_ntop(AF_INET6, (const void *)gw, (char *)buf1, sizeof(buf1));
inet_ntop(AF_INET6, (void *)&ifcp->ifc_mylladdr, (char *)buf2, sizeof(buf2));
inet_ntop(AF_INET6, (void *)gw, (char *)buf2, sizeof(buf2));
return inet_ntop(AF_INET6, (const void *)p, buf, sizeof(buf));
inet_ntop(AF_INET6, (void *)&ifa->ifa_raddr,
inet_ntop(AF_INET6, (void *)&rrt->rrt_info.rip6_dest,
if (!inet_ntop(AF_INET6, &pp->prefix, ntopbuf,
__func__, inet_ntop(AF_INET6, &prefix->prefix,
inet_ntop(AF_INET6, &prefix->prefix, ntopbuf, INET6_ADDRSTRLEN),
__func__, inet_ntop(AF_INET6, &prefix->prefix, ntopbuf,
__func__, inet_ntop(AF_INET6, addr, ntopbuf, INET6_ADDRSTRLEN),
inet_ntop(AF_INET6, &pfx->prefix, prefixbuf,
inet_ntop(AF_INET6, &rti->prefix,
inet_ntop(AF_INET6, &rdnsa->addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &prefix,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &prefix,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &prefix,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &prefix,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &prefix,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &prefix,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, addr,
inet_ntop(AF_INET6, addr,
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr,
inet_ntop(AF_INET6, &from->sin6_addr,
printf(" %s",inet_ntop(r.af,&r.srcmatch,&obuf[0],sizeof(obuf)));
printf(" %s",inet_ntop(AF_INET6,&r.dst.sin6.sin6_addr,&obuf[0],sizeof(obuf)));
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
inet_ntop(family,
inet_ntop(family,
ntopret = inet_ntop(family, addr, ntopbuf, sizeof(ntopbuf));