/external/bcc/tools/ |
D | tcpretrans.py | 22 from socket import inet_ntop, AF_INET, AF_INET6 252 "%s:%d" % (inet_ntop(AF_INET, pack('I', event.saddr)), event.lport), 254 "%s:%s" % (inet_ntop(AF_INET, pack('I', event.daddr)), event.dport), 261 "%s:%d" % (inet_ntop(AF_INET6, event.saddr), event.lport), 263 "%s:%d" % (inet_ntop(AF_INET6, event.daddr), event.dport), 271 … depict_key = "%-20s <-> %-20s" % (ep_fmt % (inet_ntop(AF_INET, pack('I', k.saddr)), k.lport), 272 … ep_fmt % (inet_ntop(AF_INET, pack('I', k.daddr)), k.dport)) 274 depict_key = "%-20s <-> %-20s" % (ep_fmt % (inet_ntop(AF_INET6, k.saddr), k.lport), 275 ep_fmt % (inet_ntop(AF_INET6, k.daddr), k.dport))
|
D | tcpdrop.py | 24 from socket import inet_ntop, AF_INET, AF_INET6 186 "%s:%d" % (inet_ntop(AF_INET, pack('I', event.saddr)), event.sport), 187 "%s:%s" % (inet_ntop(AF_INET, pack('I', event.daddr)), event.dport), 198 "%s:%d" % (inet_ntop(AF_INET6, event.saddr), event.sport), 199 "%s:%d" % (inet_ntop(AF_INET6, event.daddr), event.dport),
|
D | tcpaccept.py | 20 from socket import inet_ntop, AF_INET, AF_INET6 243 inet_ntop(AF_INET, pack("I", event.daddr)), 244 inet_ntop(AF_INET, pack("I", event.saddr)), event.lport)) 255 inet_ntop(AF_INET6, event.daddr),inet_ntop(AF_INET6, event.saddr),
|
D | tcpconnect.py | 23 from socket import inet_ntop, ntohs, AF_INET, AF_INET6 206 inet_ntop(AF_INET, pack("I", event.saddr)), 207 inet_ntop(AF_INET, pack("I", event.daddr)), event.dport)) 218 inet_ntop(AF_INET6, event.saddr), inet_ntop(AF_INET6, event.daddr),
|
D | tcpconnlat.py | 19 from socket import inet_ntop, AF_INET, AF_INET6 241 inet_ntop(AF_INET, pack("I", event.saddr)), 242 inet_ntop(AF_INET, pack("I", event.daddr)), event.dport, 254 inet_ntop(AF_INET6, event.saddr), inet_ntop(AF_INET6, event.daddr),
|
D | tcplife.lua | 222 local function inet_ntop(af, addr, len) function 230 ffi.C.inet_ntop(af, addr_src, addr_dst, len) 248 local event_saddr = inet_ntop(AF_INET, tonumber(event.saddr), inet_addresslen) 249 local event_daddr = inet_ntop(AF_INET, tonumber(event.daddr), inet_addresslen) 287 …local event_saddr = inet_ntop(AF_INET6, {tonumber(event.saddr[0]), tonumber(event.saddr[1])}, inet… 288 …local event_daddr = inet_ntop(AF_INET6, {tonumber(event.daddr[0]), tonumber(event.daddr[1])}, inet…
|
D | tcptop.py | 30 from socket import inet_ntop, AF_INET, AF_INET6 194 laddr=inet_ntop(AF_INET, pack("I", k.saddr)), 196 daddr=inet_ntop(AF_INET, pack("I", k.daddr)), 201 laddr=inet_ntop(AF_INET6, k.saddr), 203 daddr=inet_ntop(AF_INET6, k.daddr),
|
D | tcptracer.py | 22 from socket import inet_ntop, AF_INET, AF_INET6 561 inet_ntop(AF_INET, pack("I", event.saddr)), 562 inet_ntop(AF_INET, pack("I", event.daddr)), 598 "[" + inet_ntop(AF_INET6, event.saddr) + "]", 599 "[" + inet_ntop(AF_INET6, event.daddr) + "]",
|
D | tcpstates.py | 20 from socket import inet_ntop, AF_INET, AF_INET6 281 inet_ntop(AF_INET, pack("I", event.saddr)), event.ports >> 32, 282 inet_ntop(AF_INET, pack("I", event.daddr)), event.ports & 0xffffffff, 304 inet_ntop(AF_INET6, event.saddr), event.ports >> 32, 305 inet_ntop(AF_INET6, event.daddr), event.ports & 0xffffffff,
|
D | tcplife.py | 28 from socket import inet_ntop, ntohs, AF_INET, AF_INET6 459 inet_ntop(AF_INET, pack("I", event.saddr)), event.ports >> 32, 460 inet_ntop(AF_INET, pack("I", event.daddr)), event.ports & 0xffffffff, 481 inet_ntop(AF_INET6, event.saddr), event.ports >> 32, 482 inet_ntop(AF_INET6, event.daddr), event.ports & 0xffffffff,
|
D | solisten.py | 21 from socket import inet_ntop, AF_INET, AF_INET6, SOCK_STREAM, SOCK_DGRAM 161 address = inet_ntop(AF_INET, pack("I", event.laddr[0])) 163 address = inet_ntop(AF_INET6, event.laddr)
|
/external/libpcap/testprogs/ |
D | findalldevstest.c | 241 inet_ntop(AF_INET, in ifprint() 246 inet_ntop(AF_INET, in ifprint() 251 inet_ntop(AF_INET, in ifprint() 256 inet_ntop(AF_INET, in ifprint() 265 inet_ntop(AF_INET6, in ifprint() 270 inet_ntop(AF_INET6, in ifprint() 275 inet_ntop(AF_INET6, in ifprint() 280 inet_ntop(AF_INET6, in ifprint()
|
/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.])
|
/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/android-clat/ |
D | dump.c | 67 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); in dump_ip() 69 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr)); in dump_ip() 85 inet_ntop(AF_INET6, &header->ip6_src, addrstr, sizeof(addrstr)); in dump_ip6() 88 inet_ntop(AF_INET6, &header->ip6_dst, addrstr, sizeof(addrstr)); in dump_ip6()
|
D | clatd.c | 161 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip() 268 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, oldstr, sizeof(oldstr)); in ipv6_address_changed() 269 inet_ntop(AF_INET6, &interface_ip->ip6, newstr, sizeof(newstr)); in ipv6_address_changed() 333 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, addrstr, sizeof(addrstr)); in configure_clat_ipv6_address()
|
/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/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/bcc/examples/networking/ |
D | tc_perf_event.py | 60 (cpu, socket.inet_ntop(socket.AF_INET6, src_ip), 61 socket.inet_ntop(socket.AF_INET6, dst_ip),
|
/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() 431 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6() 435 if (inet_ntop(AF_INET6, buf, buf2, INET6_ADDRSTRLEN)) in display_routes6()
|
/external/ltp/testcases/network/multicast/mc_gethost/ |
D | mc_gethost.c | 70 printf("[%s]\n", inet_ntop(af, b_addr, p, sizeof p)); in main() 99 printf(" %s", inet_ntop(host->h_addrtype, in main()
|
/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()
|