HomeSort by: relevance | last modified time | path
    Searched refs:inet_ntop (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/lib/libc/inet/
Makefile.inc 9 inet_network.c inet_ntoa.c inet_ntop.c inet_pton.c nsap_addr.c
inet_ntoa.c 62 (void) inet_ntop(AF_INET, &in, ret, (socklen_t)sizeof ret);
inet_ntop.c 1 /* $NetBSD: inet_ntop.c,v 1.12 2018/03/02 06:31:53 lukem Exp $ */
23 static const char rcsid[] = "Id: inet_ntop.c,v 1.5 2005/11/03 22:59:52 marka Exp";
25 __RCSID("$NetBSD: inet_ntop.c,v 1.12 2018/03/02 06:31:53 lukem Exp $");
49 __weak_alias(inet_ntop,_inet_ntop)
61 * inet_ntop(af, src, dst, size)
69 inet_ntop(int af, const void *src, char *dst, socklen_t size) function in typeref:typename:const char *
  /src/include/arpa/
inet.h 88 const char *inet_ntop(int, const void * __restrict,
  /src/usr.sbin/rtadvd/
rtadvd.c 615 inet_ntop(AF_INET6, addr,
650 inet_ntop(AF_INET6, addr,
817 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
827 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
837 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
854 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
864 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
874 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf,
906 inet_ntop(AF_INET6, &from->sin6_addr,
919 inet_ntop(AF_INET6, &from->sin6_addr
    [all...]
dump.c 163 inet_ntop(AF_INET6, &pfx->prefix, prefixbuf,
216 inet_ntop(AF_INET6, &rti->prefix,
237 inet_ntop(AF_INET6, &rdnsa->addr,
config.c 843 if (!inet_ntop(AF_INET6, &pp->prefix, ntopbuf,
845 logit(LOG_ERR, "%s: inet_ntop failed", __func__);
892 __func__, inet_ntop(AF_INET6, &prefix->prefix,
915 inet_ntop(AF_INET6, &prefix->prefix, ntopbuf, INET6_ADDRSTRLEN),
954 __func__, inet_ntop(AF_INET6, &prefix->prefix, ntopbuf,
993 __func__, inet_ntop(AF_INET6, addr, ntopbuf, INET6_ADDRSTRLEN),
  /src/usr.sbin/ldpd/
ldp_errors.c 126 if (inet_ntop(AF_INET, &(sin->sin_addr), satos_str,
135 if (inet_ntop(AF_INET6, &(sin6->sin6_addr), satos_str,
  /src/usr.sbin/altq/libaltq/
quip_server.c 343 inet_ntop(AF_INET6, &filt6->ff_flow6.fi6_dst,
350 inet_ntop(AF_INET6, &filt6->ff_mask6.mask6_dst,
359 inet_ntop(AF_INET6, &filt6->ff_flow6.fi6_src,
366 inet_ntop(AF_INET6, &filt6->ff_mask6.mask6_src,
  /src/usr.sbin/mld6query/
mld6.c 269 printf("from %s, ", inet_ntop(AF_INET6, &from.sin6_addr,
283 printf("addr=%s\n", inet_ntop(AF_INET6, &mld->mld6_addr,
  /src/lib/libc/net/
getnameinfo.c 383 if (inet_ntop(afd->a_af, addr, numaddr,
446 if (inet_ntop(afd->a_af, addr, host,
468 if (inet_ntop(AF_INET6, addr, numaddr, (socklen_t)sizeof(numaddr))
Makefile.inc 76 inet.3 ntoa.3 inet.3 inet_ntop.3 inet.3 inet_pton.3
  /src/tests/lib/libc/net/
h_hostent.c 68 printf("%s%s", i == 0 ? "" : " ", inet_ntop(af,
  /src/usr.sbin/rip6query/
rip6query.c 205 return inet_ntop(AF_INET6, addr, buf, sizeof(buf));
  /src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c 394 return (inet_ntop(AF_INET, &sin->sin_addr, ntop_buf[n],
401 return (inet_ntop(AF_INET6, &sin6->sin6_addr, ntop_buf[n],
  /src/usr.sbin/srtconfig/
srtconfig.c 118 printf(" %s",inet_ntop(r.af,&r.srcmatch,&obuf[0],sizeof(obuf)));
126 printf(" %s",inet_ntop(AF_INET6,&r.dst.sin6.sin6_addr,&obuf[0],sizeof(obuf)));
  /src/sbin/ping6/
ping6.c 1676 if (!inet_ntop(AF_INET6, in6, ntopbuf,
1842 if (inet_ntop(AF_INET6, cp, ntop_buf, sizeof(ntop_buf)) ==
2158 if (!inet_ntop(AF_INET6, &red->nd_rd_dst, ntop_buf,
2162 if (!inet_ntop(AF_INET6, &red->nd_rd_target, ntop_buf,
2197 inet_ntop(AF_INET6, ni + 1, ntop_buf,
2225 inet_ntop(AF_INET, ni + 1, ntop_buf,
2294 if (!inet_ntop(AF_INET6, &ip6->ip6_src, ntop_buf, sizeof(ntop_buf)))
2297 if (!inet_ntop(AF_INET6, &ip6->ip6_dst, ntop_buf, sizeof(ntop_buf)))
2496 if (inet_ntop(AF_INET6, &in6, hbuf, sizeof(hbuf)) == NULL)
  /src/lib/libc/nameser/
ns_print.c 166 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen);
336 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen);
427 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen);
694 (void) inet_ntop(AF_INET6, &a, buf, (socklen_t)buflen);
966 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen);
971 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen);
  /src/usr.sbin/trpt/
trpt.c 431 inet_ntop(family,
441 inet_ntop(family,
  /src/usr.sbin/npf/npftest/
npftest.c 276 rumpns_npf_test_init(inet_pton, inet_ntop, random);
  /src/dist/pf/sbin/pfctl/
pfctl_table.c 435 inet_ntop(ad->pfra_af, &ad->pfra_u, buf, sizeof(buf));
442 inet_ntop(rad->pfra_af, &rad->pfra_u, buf, sizeof(buf));
pf_print_state.c 90 if (inet_ntop(af, &addr->v.a.addr, buf,
  /src/lib/libc/rpc/
rpc_generic.c 651 if (inet_ntop(af, &sinp->sin_addr, namebuf,
665 if (inet_ntop(af, &sin6->sin6_addr, namebuf6,
  /src/tests/net/net/
t_pktinfo_send.c 215 inet_ntop(AF_INET, &sa_before.sin_addr, ipbuf1, sizeof(ipbuf1));
216 inet_ntop(AF_INET, &sa_after.sin_addr, ipbuf2, sizeof(ipbuf2));
  /src/usr.bin/getent/
getent.c 292 if (inet_ntop(he->h_addrtype, he->h_addr, buf, sizeof(buf)) == NULL)
386 if (inet_ntop(ne->n_addrtype, &ianet, buf, sizeof(buf)) == NULL)

Completed in 30 milliseconds

1 2