Home
last modified time | relevance | path

Searched refs:inet_ntop (Results 1 – 25 of 91) sorted by relevance

1234

/external/libpcap/tests/
Dfindalldevstest.c91 inet_ntop(AF_INET6, in ifprint()
96 inet_ntop(AF_INET6, in ifprint()
101 inet_ntop(AF_INET6, in ifprint()
106 inet_ntop(AF_INET6, in ifprint()
/external/ipsec-tools/src/racoon/
Disakmp_unity.c293 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
294 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
372 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
373 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
391 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
392 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
/external/tcpdump/
Dprint-pgm.c279 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); in pgm_print()
326 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); in pgm_print()
435 inet_ntop(source_af, source, source_buf, sizeof(source_buf)); in pgm_print()
436 inet_ntop(group_af, group, group_buf, sizeof(group_buf)); in pgm_print()
639 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); in pgm_print()
770 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); in pgm_print()
803 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf)); in pgm_print()
DMakefile.in241 missing/inet_ntop.c \
303 inet_ntop.o: $(srcdir)/missing/inet_ntop.c
304 $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_ntop.c
/external/iproute2/lib/
Dll_addr.c39 return inet_ntop(AF_INET, addr, buf, blen); in ll_addr_n2a()
42 return inet_ntop(AF_INET6, addr, buf, blen); in ll_addr_n2a()
/external/android-clat/
Ddump.c66 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); in dump_ip()
68 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr)); in dump_ip()
84 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6()
87 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr)); in dump_ip6()
Dconfig.c390 …logmsg(ANDROID_LOG_DEBUG,"ipv6_local_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_lo… in dump_config()
391 …logmsg(ANDROID_LOG_DEBUG,"ipv4_local_subnet = %s",inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_loc… in dump_config()
393 …logmsg(ANDROID_LOG_DEBUG,"plat_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.plat_subnet, … in dump_config()
Dipv6.c63 inet_ntop(AF_INET6, src, srcstr, sizeof(srcstr)); in log_bad_address()
64 inet_ntop(AF_INET6, dst, dststr, sizeof(dststr)); in log_bad_address()
Ddns64.c70 inet_ntop(AF_INET6, &plat_addr, plat_addr_str, sizeof(plat_addr_str))); in plat_prefix()
Dclatd.c150 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip()
249 inet_ntop(AF_INET6, &interface_ip->ip6, addrstr, sizeof(addrstr)); in update_clat_ipv6_address()
257 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, from_addr, sizeof(from_addr)); in update_clat_ipv6_address()
/external/iputils/
Dtraceroute6.c586 inet_ntop(AF_INET6, &to->sin6_addr, pa, sizeof(pa))); in main()
589 inet_ntop(AF_INET6, &saddr.sin6_addr, pa, sizeof(pa))); in main()
876 inet_ntop(AF_INET6, &from->sin6_addr, pa1, sizeof(pa1)), in packet_ok()
877 inet_ntop(AF_INET6, to, pa2, sizeof(pa2))); in packet_ok()
904 Printf(" %s", inet_ntop(AF_INET6, &from->sin6_addr, in print()
912 hostname = inet_ntop(AF_INET6, &from->sin6_addr, pa, sizeof(pa)); in print()
/external/toybox/toys/pending/
Droute.c134 else if (!inet_ntop(AF_INET, &dest, destip, 32)) perror_exit("inet"); in display_routes()
137 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet"); in display_routes()
139 if (!inet_ntop(AF_INET, &mask, maskip, 32)) perror_exit("inet"); in display_routes()
471 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) { in display_routes6()
476 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) { in display_routes6()
Dip.c857 inet_ntop(AF_INET, RTA_DATA(attr), link->laddr, 64); in get_link_info()
864 inet_ntop(AF_INET, RTA_DATA(attr), link->bcast, 64); in get_link_info()
1006 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo()
1014 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo()
1024 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo()
1030 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo()
1375 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print()
1513 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in display_route_info()
1527 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in display_route_info()
1540 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]), in display_route_info()
[all …]
Dping.c102 inet_ntop(family, &src_addr, toybuf, sizeof(toybuf));
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c80 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach()
110 inet_ntop(AF_INET6, &from->sin6_addr, addr,
157 inet_ntop(AF_INET6, &from->sin6_addr, addr,
228 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from));
476 inet_ntop(AF_INET6, &dst->addr.sin6_addr,
/external/fio/os/windows/posix/include/arpa/
Dinet.h15 const char *inet_ntop(int af, const void *restrict src,
/external/tcpdump/missing/
Dgetnameinfo.c216 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
272 if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
Daddrinfo.h89 extern const char *inet_ntop (int, const void *, char *, size_t);
/external/libxml2/os400/
Dwrappers.h61 #define inet_ntop _lx_inet_ntop macro
/external/iptables/libiptc/
Dlibip6tc.c142 inet_ntop(AF_INET6, &e->ipv6.src, buf, sizeof buf); in dump_entry()
149 inet_ntop(AF_INET6, &e->ipv6.smsk, buf, sizeof buf); in dump_entry()
155 inet_ntop(AF_INET6, &e->ipv6.dst, buf, sizeof buf); in dump_entry()
162 inet_ntop(AF_INET6, &e->ipv6.dmsk, buf, sizeof buf); in dump_entry()
/external/wpa_supplicant_8/src/utils/
Dip_addr.c27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL) in hostapd_ip_txt()
/external/boringssl/src/tool/
Dtransport_common.cc110 inet_ntop(result->ai_family, &sin->sin_addr, buf, sizeof(buf)), in Connect()
118 inet_ntop(result->ai_family, &sin6->sin6_addr, buf, sizeof(buf)), in Connect()
/external/strace/
Dsocketutils.c88 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_src, in inet_parse_response()
96 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_dst, in inet_parse_response()
/external/iputils/ninfod/
Dninfod_name.c311 if (inet_ntop(AF_INET6, &nigroup, niaddrbuf, sizeof(niaddrbuf)) == NULL) in init_nodeinfo_nodename()
338 if (inet_ntop(AF_INET6, &nigroup, niaddrbuf, sizeof(niaddrbuf)) == NULL) in init_nodeinfo_nodename()
/external/libpcap/Win32/Include/
Daddrinfo.h92 extern const char *inet_ntop (int, const void *, char *, size_t);

1234