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

123456

/openbsd-current/sys/net/
H A Dpipex.c643 __func__, inet_ntop(AF_INET, &addr, buf, sizeof(buf))));
1053 inet_ntop(AF_INET, &ip->ip_src, src, sizeof(src)));
H A Dif.c3333 printf("%s", inet_ntop(AF_INET,
3339 printf("%s", inet_ntop(AF_INET6,
/openbsd-current/lib/libagentx/
H A Dax.c862 if (inet_ntop(PF_INET, vb->avb_data.avb_ostring.aos_string,
/openbsd-current/usr.sbin/snmpd/
H A Dax.c1011 if (inet_ntop(PF_INET, vb->avb_data.avb_ostring.aos_string,
/openbsd-current/usr.bin/dig/lib/dns/
H A Drdata.c1290 /* Note - inet_ntop doesn't do size checking on its input. */
1291 if (inet_ntop(af, src->base, tmpbuf, sizeof(tmpbuf)) == NULL)
/openbsd-current/sys/dev/pv/
H A Dvmt.c919 inet_ntop(AF_INET, &guest_ip->sin_addr, ip,
/openbsd-current/usr.sbin/unbound/util/
H A Dnetevent.c555 if(inet_ntop(AF_INET6, &r->pktinfo.v6info.ipi6_addr,
557 (void)strlcpy(buf, "(inet_ntop error)", sizeof(buf));
565 if(inet_ntop(AF_INET, &r->pktinfo.v4info.ipi_addr,
567 (void)strlcpy(buf1, "(inet_ntop error)", sizeof(buf1));
571 if(inet_ntop(AF_INET, &r->pktinfo.v4info.ipi_spec_dst,
573 (void)strlcpy(buf2, "(inet_ntop error)", sizeof(buf2));
583 if(inet_ntop(AF_INET, &r->pktinfo.v4addr,
585 (void)strlcpy(buf1, "(inet_ntop error)", sizeof(buf1));
/openbsd-current/sbin/unwind/libunbound/util/
H A Dnetevent.c555 if(inet_ntop(AF_INET6, &r->pktinfo.v6info.ipi6_addr,
557 (void)strlcpy(buf, "(inet_ntop error)", sizeof(buf));
565 if(inet_ntop(AF_INET, &r->pktinfo.v4info.ipi_addr,
567 (void)strlcpy(buf1, "(inet_ntop error)", sizeof(buf1));
571 if(inet_ntop(AF_INET, &r->pktinfo.v4info.ipi_spec_dst,
573 (void)strlcpy(buf2, "(inet_ntop error)", sizeof(buf2));
583 if(inet_ntop(AF_INET, &r->pktinfo.v4addr,
585 (void)strlcpy(buf1, "(inet_ntop error)", sizeof(buf1));
/openbsd-current/sbin/pfctl/
H A Dpfctl_optimize.c1219 DEBUG("<%s> adding %s/%d", (*tbl)->pt_name, inet_ntop(af,
H A Dparse.y4121 if (inet_ntop(af, &h->addr.v.a.addr, a,
/openbsd-current/libexec/spamd/
H A Dspamd.c539 inet_ntop(af, ia, c + i, (len - i));
/openbsd-current/usr.sbin/unbound/smallapp/
H A Dunbound-anchor.c496 if(inet_ntop((int)((struct sockaddr_in*)&ip->addr)->sin_family,
498 printf("%s (inet_ntop error)\n", msg);
/openbsd-current/sbin/ifconfig/
H A Difconfig.c5650 inet_ntop(AF_INET, &spd.dns[i], astr, sizeof(astr)));
6002 inet_ntop(wg_aip->a_af, &wg_aip->a_addr,
6223 inet_ntop(AF_INET, &mi.ipv4dns[i], astr, sizeof(astr)));
6230 inet_ntop(AF_INET6, &mi.ipv6dns[i], astr, sizeof(astr)));
/openbsd-current/usr.sbin/nsd/
H A Doptions.c2766 if(!inet_ntop(family, &in4->sin_addr, a4, sizeof(a4)))
2767 error("inet_ntop");
2778 if(!inet_ntop(family, &in6->sin6_addr, a6, sizeof(a6)))
2779 error("inet_ntop");
H A Dserver.c118 inet_ntop(AF_INET, &s->sin_addr.s_addr, str_buf, sizeof(str_buf));
123 inet_ntop(AF_INET6, &s6->sin6_addr.s6_addr, str_buf, sizeof(str_buf));
/openbsd-current/sys/dev/usb/
H A Dif_umb.c2084 DEVNAM(ifp->if_softc), inet_ntop(AF_INET,
2152 DEVNAM(ifp->if_softc), inet_ntop(AF_INET6,
/openbsd-current/usr.sbin/unbound/iterator/
H A Diterator.c611 if(inet_ntop(AF_INET, &iq->fail_addr.in, buf,
613 (void)strlcpy(buf, "(inet_ntop error)", len);
617 if(inet_ntop(AF_INET6, &iq->fail_addr.in6, buf,
619 (void)strlcpy(buf, "(inet_ntop error)", len);
/openbsd-current/usr.sbin/unbound/
H A DMakefile.in162 compat/inet_aton.c compat/inet_ntop.c compat/inet_pton.c compat/malloc.c \
1607 inet_ntop.lo inet_ntop.o: $(srcdir)/compat/inet_ntop.c config.h
/openbsd-current/sbin/unwind/libunbound/iterator/
H A Diterator.c611 if(inet_ntop(AF_INET, &iq->fail_addr.in, buf,
613 (void)strlcpy(buf, "(inet_ntop error)", len);
617 if(inet_ntop(AF_INET6, &iq->fail_addr.in6, buf,
619 (void)strlcpy(buf, "(inet_ntop error)", len);
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2711 INTERCEPTOR(char *, inet_ntop, int af, const void *src, char *dst, u32 size) {
2713 COMMON_INTERCEPTOR_ENTER(ctx, inet_ntop, af, src, dst, size);
2720 char *res = REAL(inet_ntop)(af, src, dst, size);
2740 COMMON_INTERCEPT_FUNCTION(inet_ntop); \
/openbsd-current/usr.bin/dig/
H A Ddighost.c466 inet_ntop(af, confdata->nameservers[i].address,
/openbsd-current/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/
H A DPing.pm1774 # Vista doesn't define a inet_ntop. It has InetNtop instead.
2456 Platform abstraction over C<inet_ntop()>
/openbsd-current/gnu/usr.bin/perl/
H A Dconfig_h.SH2837 * This symbol, if defined, indicates that the inet_ntop() function
/openbsd-current/gnu/llvm/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp3540 const char *q = inet_ntop(AF_INET6, buf, s_out, INET6_ADDRSTRLEN);
/openbsd-current/usr.bin/ssh/
H A Dchannels.c1653 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL)

Completed in 604 milliseconds

123456