inet_ntop
if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL)
name = inet_ntop(AF_INET, &sin->sin_addr,
bf = inet_ntop(AF_INET, &sa->sin_addr, buf, sizeof buf);
const char *inet_ntop(int, const void * __restrict, char * __restrict,
(void) inet_ntop(AF_INET, &in, ret, sizeof ret);
inet_ntop(AF_INET, &in, buf, size);
__weak_reference(__inet_ntop, inet_ntop);
(void) inet_ntop(AF_INET, rdata, buf, buflen);
(void) inet_ntop(AF_INET6, rdata, buf, buflen);
(void) inet_ntop(AF_INET, rdata, buf, buflen);
(void) inet_ntop(AF_INET6, &a, buf, buflen);
if (inet_ntop(af, addr, numaddr, sizeof(numaddr)) == NULL)
if (inet_ntop(af, addr, numaddr, sizeof(numaddr)) == NULL)
if (inet_ntop(af, addr, numaddr, sizeof(numaddr)) == NULL)
if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
if (inet_ntop(afd->a_af, addr, host,
if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL)
inet_ntop(AF_INET, &u.sin.sin_addr, ret, sizeof ret);
inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret);
if (inet_ntop(af, &sin->sin_addr, namebuf, sizeof namebuf)
if (inet_ntop(af, &sin6->sin6_addr, namebuf6, sizeof namebuf6)
const char *inet_ntop(int af, const void *src, char *dst, size_t size);
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
inet_ntop(AF_INET, &sin->sin_addr, addr_buf, sizeof(addr_buf));
inet_ntop(AF_INET6, &sin->sin6_addr, addr_buf,
inet_ntop(AF_INET6, &sin->sin6_addr, addr_buf,
inet_ntop(AF_INET, &carpa[i].carpa_baddr.sin_addr,
inet_ntop(wg_aip->a_af, &wg_aip->a_addr,
printf(" %s %s", key, inet_ntop(AF_INET6,&un->fu_via_ip6,ntop_buf,sizeof(ntop_buf)));
printf("%s", inet_ntop(AF_INET6,&chain->fw_src,ntop_buf,sizeof(ntop_buf)));
printf("%s", inet_ntop(AF_INET6,&chain->fw_src,ntop_buf,sizeof(ntop_buf)));
printf("%s", inet_ntop(AF_INET6,&chain->fw_src,ntop_buf,sizeof(ntop_buf)));
printf("%s", inet_ntop(AF_INET6,&chain->fw_dst,ntop_buf,sizeof(ntop_buf)));
printf("%s", inet_ntop(AF_INET6,&chain->fw_dst,ntop_buf,sizeof(ntop_buf)));
printf("%s", inet_ntop(AF_INET6,&chain->fw_dst,ntop_buf,sizeof(ntop_buf)));
printf("%s\n", inet_ntop(AF_INET,
printf("%s/%d\n", inet_ntop(AF_INET,
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)
char *inet_ntop(int, const void * __restrict, char * __restrict,
inet_ntop(AF_INET, &ip->ip_dst, dst_buf, INET_ADDRSTRLEN),
inet_ntop(AF_INET, &ip->ip_src, src_buf, INET_ADDRSTRLEN));
inet_ntop(AF_INET, &icmpsrc.sin_addr,
inet_ntop(AF_INET, &icp->icmp_ip.ip_dst,
inet_ntop(AF_INET, &icp->icmp_gwaddr,
inet_ntop(AF_INET, &ip->ip_src, src_buf, INET_ADDRSTRLEN),
inet_ntop(AF_INET, &ip->ip_dst, dst_buf, INET_ADDRSTRLEN),
inet_ntop(AF_INET, &ip->ip_src,
inet_ntop(AF_INET, &icp->icmp_ip.ip_dst,
inet_ntop(AF_INET, &icp->icmp_gwaddr,
inet_ntop(AF_INET, &icp->icmp_ip.ip_dst,
inet_ntop(AF_INET, &icp->icmp_gwaddr,
ret = inet_ntop(ifr->ifr_addr.sa_family, src,
fprintf(stderr, "ifindex %s\n", inet_ntop(AF_INET, &mcast_if,
inet_ntop(AF_INET, &local.sin_addr, local_str, sizeof(local_str)),
inet_ntop(AF_INET, &local.sin_addr, local_str, sizeof(local_str)),
inet_ntop(AF_INET, &conn->c_in.sin_addr,
inet_ntop(AF_INET, &da->sin_addr, name, sizeof(name)),
inet_ntop(AF_INET, &conn->c_in.sin_addr,
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,
inet_ntop(AF_INET6,
inet_ntop(AF_INET6, (void *)in6p, ntop_buf,
inet_ntop(af, addr, addrstr, sizeof addrstr);
inet_ntop(sa->sa_family, addr, addrbuf, sizeof(addrbuf));
inet_ntop(AF_INET, &lsin->sin_addr, addr, sizeof addr);
inet_ntop(AF_INET6, &lsin6->sin6_addr, addr, sizeof addr);
inet_ntop(AF_INET, &soin->sin_addr, str, sizeof(str));
inet_ntop(AF_INET6, &sin6->sin6_addr, str, sizeof(str));
return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
inet_ntop(AF_INET, &in_gw, router, len);
printf("from %s, ", inet_ntop(AF_INET6, &from.sin6_addr,
printf("addr=%s\n", inet_ntop(AF_INET6, &mld->mld6_addr,
if (inet_ntop(af, &h->addr.v.a.addr, a,
if (inet_ntop(af, &addr->v.a.addr, buf,
if (inet_ntop(af, &addr->v.a.addr, buf, sizeof(buf)) == NULL)
if (inet_ntop(af, &addr->v.a.mask, buf, sizeof(buf)) == NULL)
DEBUG("<%s> adding %s/%d", (*tbl)->pt_name, inet_ntop(af,
if (inet_ntop(r->af, &r->divert.addr, buf,
inet_ntop(ad->pfra_af, &ad->pfra_u, buf, sizeof(buf));
inet_ntop(rad->pfra_af, &rad->pfra_u, buf, sizeof(buf));
inet_ntop(pmask->sa_family, pmask->sa_data, tmp, sizeof tmp);
inet_ntop(phost->sa_family, phost->sa_data, tmp, sizeof tmp);
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,
inet_ntop(AF_INET6, &rti->rti_prefix,
printf("\t %s/%d", inet_ntop(AF_INET6, &pfx->pfx_prefix,
inet_ntop(AF_INET6,
if (!inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf,
inet_ntop(AF_INET6, &ipr->ipr_prefix.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf,
inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf, sizeof(ntopbuf)),
__func__, inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf,
inet_ntop(AF_INET6, &ipr->ipr_prefix.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pfx->prefix,
inet_ntop(AF_INET6, dst, ntopbuf, sizeof(ntopbuf)));
inet_ntop(AF_INET6, from, ntopbuf, sizeof(ntopbuf)));
__func__, rr->rr_segnum, inet_ntop(AF_INET6, from,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0] ,sizeof(ntopbuf[0])),
inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])),
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0],
inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])),
inet_ntop(AF_INET6, &dst, ntopbuf[0], sizeof(ntopbuf[0])),
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[1],
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf, sizeof(ntopbuf)),
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pinfo->nd_opt_pi_prefix, prefixbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pinfo->nd_opt_pi_prefix, prefixbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pinfo->nd_opt_pi_prefix, prefixbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pinfo->nd_opt_pi_prefix, prefixbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pinfo->nd_opt_pi_prefix, prefixbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &pinfo->nd_opt_pi_prefix, prefixbuf,
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6, addr,
__func__, 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,
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, ntopbuf, sizeof(ntopbuf)),
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
inet_ntop(AF_INET6,
inet_ntop(AF_INET6, addr, ntopbuf, INET6_ADDRSTRLEN),
inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf,
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
rcvpktinfo ? inet_ntop(AF_INET6, &rcvpktinfo->ipi6_addr,
? inet_ntop(AF_INET6, &ip6->ip6_src, ntop_buf,
? inet_ntop(AF_INET6, &ip6->ip6_dst, ntop_buf,
if (inet_ntop(hp->h_addrtype, hp->h_addr, addr, sizeof(addr)) == NULL)