/openbsd-current/lib/libc/hidden/arpa/ |
H A D | inet.h | 33 PROTO_NORMAL(inet_ntop); variable
|
/openbsd-current/gnu/usr.bin/perl/cpan/Socket/t/ |
H A D | sockaddr.t | 9 inet_ntoa inet_aton inet_ntop inet_pton 30 # inet_ntop, inet_pton 32 skip "No inet_ntop", 5 unless defined eval { inet_pton(AF_INET, "10.20.30.40") }; 36 is(inet_ntop(AF_INET, v10.20.30.40), "10.20.30.40", 'inet_ntop AF_INET from v-string'); 38 is(inet_ntop(AF_INET, inet_pton(AF_INET, "10.20.30.40")), "10.20.30.40", 'inet_pton->inet_ntop AF_INET roundtrip'); 39 is(inet_ntop(AF_INET, inet_aton("10.20.30.40")), "10.20.30.40", 'inet_aton->inet_ntop AF_INET roundtrip'); 42 eval { inet_ntop(AF_INE [all...] |
/openbsd-current/regress/sys/netinet6/nd6/ |
H A D | nd6_una.py | 13 return inet_ntop(socket.AF_INET6, in6_getnsma(n))
|
H A D | nd6_dad.py | 14 return inet_ntop(socket.AF_INET6, in6_getnsma(n))
|
H A D | nd6_nud.py | 14 return inet_ntop(socket.AF_INET6, in6_getnsma(n))
|
H A D | nd6_ar.py | 14 return inet_ntop(socket.AF_INET6, in6_getnsma(n))
|
/openbsd-current/lib/libc/net/ |
H A D | Makefile.inc | 16 inet_net_ntop.c inet_net_pton.c inet_ntoa.c inet_ntop.c inet_pton.c \ 29 inet_addr.3 inet_lnaof.3 inet_net_ntop.3 inet_ntop.3 \
|
H A D | inet_ntop.c | 1 /* $OpenBSD: inet_ntop.c,v 1.13 2016/09/21 04:38:56 guenther Exp $ */ 37 * inet_ntop(af, src, dst, size) 45 inet_ntop(int af, const void *src, char *dst, socklen_t size) function 58 DEF_WEAK(inet_ntop); variable
|
/openbsd-current/usr.sbin/dhcpleasectl/ |
H A D | dhcpleasectl.c | 241 if (inet_ntop(AF_INET, &cei->requested_ip, ipbuf, 244 if (inet_ntop(AF_INET, &cei->mask, maskbuf, sizeof(maskbuf)) 249 if (inet_ntop(AF_INET, &cei->routes[i].dst, ipbuf, 252 if (inet_ntop(AF_INET, &cei->routes[i].mask, maskbuf, 255 if (inet_ntop(AF_INET, &cei->routes[i].gw, 273 if (inet_ntop(AF_INET, &cei->nameservers[i], 309 if (inet_ntop(AF_INET, &cei->server_identifier, ipbuf, 313 if (inet_ntop(AF_INET, &cei->dhcp_server, ipbuf, sizeof(ipbuf))
|
/openbsd-current/sys/netinet6/ |
H A D | nd6_nbr.c | 134 inet_ntop(AF_INET6, &ip6->ip6_src, addr, sizeof(addr)), 135 inet_ntop(AF_INET6, &ip6->ip6_dst, addr0, sizeof(addr0)), 270 inet_ntop(AF_INET6, &taddr6, addr, sizeof(addr)), 277 inet_ntop(AF_INET6, &saddr6, addr, sizeof(addr))); 339 inet_ntop(AF_INET6, &saddr6, addr, sizeof(addr)))); 341 inet_ntop(AF_INET6, &daddr6, addr, sizeof(addr)))); 343 inet_ntop(AF_INET6, &taddr6, addr, sizeof(addr)))); 470 __func__, inet_ntop(AF_INET6, 581 inet_ntop(AF_INET6, &ip6->ip6_src, addr, sizeof(addr)), 582 inet_ntop(AF_INET [all...] |
H A D | nd6_rtr.c | 87 inet_ntop(AF_INET6, &ip6->ip6_src, src, sizeof(src)), 88 inet_ntop(AF_INET6, &ip6->ip6_dst, dst, sizeof(dst)), 121 inet_ntop(AF_INET6, &saddr6, src, sizeof(src)))); 154 __func__, inet_ntop(AF_INET6, &saddr6, src, sizeof(src)),
|
H A D | ip6_forward.c | 115 inet_ntop(AF_INET6, &ip6->ip6_src, src6, sizeof(src6)); 116 inet_ntop(AF_INET6, &ip6->ip6_dst, dst6, sizeof(dst6)); 203 inet_ntop(AF_INET6, &ip6->ip6_src, src6, sizeof(src6)); 204 inet_ntop(AF_INET6, &ip6->ip6_dst, dst6, sizeof(dst6));
|
/openbsd-current/usr.sbin/rad/ |
H A D | printconf.c | 94 inet_ntop(AF_INET6, &ra_rdnss->rdnss, 110 printf("%snat64 prefix %s/%d {\n", indent, inet_ntop(AF_INET6, 152 printf("\tprefix %s/%d {\n", inet_ntop(AF_INET6,
|
/openbsd-current/usr.sbin/acme-client/ |
H A D | dnsproc.c | 93 inet_ntop(AF_INET, 98 inet_ntop(AF_INET6,
|
/openbsd-current/include/arpa/ |
H A D | inet.h | 128 const char *inet_ntop(int, const void *__restrict, char *__restrict,
|
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Socket-IP/t/ |
H A D | 05local-server-v6.t | 10 use Socket qw( inet_pton inet_ntop pack_sockaddr_in6 unpack_sockaddr_in6 IN6ADDR_LOOPBACK ); 22 my $IN6ADDR_LOOPBACK_HOST = inet_ntop( $AF_INET6, $IN6ADDR_LOOPBACK );
|
H A D | 04local-client-v6.t | 10 use Socket qw( inet_pton inet_ntop pack_sockaddr_in6 unpack_sockaddr_in6 IN6ADDR_LOOPBACK ); 22 my $IN6ADDR_LOOPBACK_HOST = inet_ntop( $AF_INET6, $IN6ADDR_LOOPBACK );
|
/openbsd-current/usr.sbin/tcpdump/ |
H A D | print-pflog.c | 153 if (inet_ntop(hdr->naf, &hdr->saddr, buf, 159 if (inet_ntop(hdr->naf, &hdr->daddr, buf,
|
/openbsd-current/regress/usr.sbin/rpki-client/ |
H A D | test-ip.c | 73 inet_ntop((afiv == 1) ? AF_INET : AF_INET6, ip.min, buf, sizeof(buf)); 75 inet_ntop((afiv == 1) ? AF_INET : AF_INET6, ip.max, buf, sizeof(buf));
|
/openbsd-current/regress/sys/net/pf_print/ |
H A D | pf_print_test.c | 84 if (!inet_ntop(AF_INET6, &addr.v6, str, sizeof(str))) 85 errx(2, "inet_ntop %s", *in);
|
/openbsd-current/lib/libc/asr/ |
H A D | asr_debug.c | 115 snprintf(buf, max, "%s", inet_ntop(AF_INET, 121 snprintf(buf, max, "%s", inet_ntop(AF_INET6, 238 inet_ntop(AF_INET, &s.sin->sin_addr, h, sizeof h); 242 inet_ntop(AF_INET6, &s.sin6->sin6_addr, h, sizeof h);
|
/openbsd-current/usr.sbin/slaacctl/ |
H A D | slaacctl.c | 238 printf("\t\tprefix: %s/%u\n", inet_ntop(AF_INET6, 255 printf("\t\trdns: %s, lifetime: %u\n", inet_ntop(AF_INET6, 296 printf("\t\t%s, %s/%u\n", hbuf, inet_ntop(AF_INET6, 350 printf("\t\t\t%s\n", inet_ntop(AF_INET6,
|
/openbsd-current/sbin/dhcp6leased/ |
H A D | printconf.c | 58 inet_ntop(AF_INET6, &ia6, ntopbuf, INET6_ADDRSTRLEN);
|
/openbsd-current/regress/sys/netinet/sendsrcaddr/ |
H A D | runtest.c | 158 inet_ntop(from_sin->sin_family, &from_sin->sin_addr, 175 inet_ntop(src->sin_family, &src->sin_addr, addr, sizeof(addr)); 255 inet_ntop(dst->sin_family, &dst->sin_addr, addr, sizeof(addr));
|
/openbsd-current/gnu/llvm/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 32 // WindowsXP needs an inet_ntop implementation 40 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) { function 140 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv4.sin_addr, str, 145 if (inet_ntop(GetFamily(), &m_socket_addr.sa_ipv6.sin6_addr, str,
|