/external/libnetfilter_conntrack/ |
D | configure.ac | 32 dnl Check for inet_ntop 33 AC_CHECK_FUNCS(inet_ntop) 38 AC_MSG_CHECKING(if inet_ntop supports IPv6) 57 if (inet_ntop(AF_INET6, &addr6, buf, 128) == 0 && errno == EAFNOSUPPORT) 63 AC_DEFINE_UNQUOTED(HAVE_INET_NTOP_IPV6, 1, [Define to 1 if inet_ntop supports IPv6.])
|
D | config.h.in | 9 /* Define to 1 if you have the `inet_ntop' function. */ 12 /* Define to 1 if inet_ntop supports IPv6. */
|
/external/scapy/scapy/ |
D | utils6.py | 166 paddr = inet_ntop(socket.AF_INET6, naddr) # normalize 241 ifaceid = inet_ntop(socket.AF_INET6, x)[2:] 318 return inet_ntop(socket.AF_INET6, a) 328 addr = inet_ntop(socket.AF_INET6, b'\x20\x02'+addr+b'\x00'*10) 344 return inet_ntop(socket.AF_INET, addr[2:6]) 373 return inet_ntop(socket.AF_INET6, b'\xfd' + globalid + b'\x00'*10) 405 s1 = inet_ntop(socket.AF_INET6, b"\xff"*8 + s1)[20:] 406 s2 = inet_ntop(socket.AF_INET6, b"\xff"*8 + s2)[20:] 435 return inet_ntop(socket.AF_INET6, b"".join(res)) 490 server = inet_ntop(socket.AF_INET, addr[4:8]) [all …]
|
D | pton_ntop.py | 126 def inet_ntop(af, addr): function 131 return socket.inet_ntop(af, addr)
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_unity.c | 293 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/libpcap/tests/ |
D | findalldevstest.c | 115 inet_ntop(AF_INET6, in ifprint() 120 inet_ntop(AF_INET6, in ifprint() 125 inet_ntop(AF_INET6, in ifprint() 130 inet_ntop(AF_INET6, in ifprint()
|
/external/android-clat/ |
D | dump.c | 66 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()
|
D | config.c | 393 …logmsg(ANDROID_LOG_DEBUG,"ipv6_local_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_lo… in dump_config() 394 …logmsg(ANDROID_LOG_DEBUG,"ipv4_local_subnet = %s",inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_loc… in dump_config() 396 …logmsg(ANDROID_LOG_DEBUG,"plat_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.plat_subnet, … in dump_config()
|
D | ipv6.c | 63 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()
|
D | clatd.c | 150 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/ |
D | traceroute6.c | 586 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/iproute2/lib/ |
D | ll_addr.c | 38 return inet_ntop(AF_INET, addr, buf, blen); in ll_addr_n2a() 41 return inet_ntop(AF_INET6, addr, buf, blen); in ll_addr_n2a()
|
/external/toybox/toys/pending/ |
D | route.c | 151 else if (!inet_ntop(AF_INET, &dest, destip, 32)) perror_exit("inet"); in display_routes() 154 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet"); in display_routes() 156 if (!inet_ntop(AF_INET, &mask, maskip, 32)) perror_exit("inet"); in display_routes() 429 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6() 433 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6()
|
D | ip.c | 851 inet_ntop(AF_INET, RTA_DATA(attr), link->laddr, 64); in get_link_info() 858 inet_ntop(AF_INET, RTA_DATA(attr), link->bcast, 64); in get_link_info() 1001 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo() 1009 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ADDRESS]), in print_addrinfo() 1019 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_BROADCAST]), in print_addrinfo() 1025 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_ANYCAST]), in print_addrinfo() 1370 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print() 1509 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_DST]), in display_route_info() 1523 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_SRC]), in display_route_info() 1536 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]), in display_route_info() [all …]
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 72 printf("[%s]\n", inet_ntop(af, b_addr, p, sizeof p)); 101 printf(" %s", inet_ntop(host->h_addrtype,
|
/external/webrtc/webrtc/base/ |
D | nethelpers.cc | 102 const char* inet_ntop(int af, const void *src, char* dst, socklen_t size) { in inet_ntop() function 106 return ::inet_ntop(af, src, dst, size); in inet_ntop()
|
/external/toybox/toys/net/ |
D | netstat.c | 47 if (!inet_ntop(af, addr, buf, 256)) { in addr2str() 303 if (inet_ntop(AF_INET, &dest, out, 16)) destip = out; in display_routes() 308 if (inet_ntop(AF_INET, &gate, out, 16)) gateip = out; in display_routes() 314 if (inet_ntop(AF_INET, &mask, out, 16)) maskip = out; in display_routes()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_udp.c | 100 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), in wpa_supplicant_ctrl_iface_attach() 130 inet_ntop(AF_INET6, &from->sin6_addr, addr, 177 inet_ntop(AF_INET6, &from->sin6_addr, addr, 248 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from)); 538 inet_ntop(AF_INET6, &dst->addr.sin6_addr,
|
/external/python/cpython2/Modules/ |
D | getnameinfo.c | 173 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 205 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
|
/external/python/cpython3/Modules/ |
D | getnameinfo.c | 173 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 205 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
|
/external/iptables/libiptc/ |
D | libip6tc.c | 142 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/fio/os/windows/posix/include/arpa/ |
D | inet.h | 15 const char *inet_ntop(int af, const void *restrict src,
|
/external/curl/lib/ |
D | inet_ntop.h | 34 inet_ntop(af, addr, buf, (curl_socklen_t)size)
|
/external/ltp/lib/ |
D | safe_net.c | 33 if (!inet_ntop(AF_INET, &sin->sin_addr, res, len)) in tst_sock_addr() 49 if (!inet_ntop(AF_INET6, &sin6->sin6_addr, res + 1, len - 1)) in tst_sock_addr()
|
/external/autotest/client/tests/ipv6connect/src/ |
D | ipv6connect.c | 56 if (!inet_ntop(AF_INET6, &sa.sin6_addr, buf, INET6_ADDRSTRLEN)) { in ConnectAndAccept() 165 if (!inet_ntop(AF_INET6, &sa.sin6_addr, buf, INET6_ADDRSTRLEN)) { in CreateServerConnectAndAccept() 292 if (!inet_ntop(AF_INET6, &sa.sin6_addr, buf, INET6_ADDRSTRLEN)) { in ThreadedCreateServerConnectAndAccept()
|