/external/fio/oslib/ |
inet_aton.c | 5 return inet_pton(AF_INET, cp, inp);
|
/external/fio/os/windows/posix/include/arpa/ |
inet.h | 17 int inet_pton(int af, const char *restrict src, void *restrict dst);
|
/external/libnl/tests/ |
test-create-ipgre.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr);
|
test-create-ipip.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr);
|
test-create-ipvti.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr);
|
test-create-sit.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr);
|
test-create-ip6tnl.c | 39 inet_pton(AF_INET6, "2607:f0d0:1002:51::4", &addr); 42 inet_pton(AF_INET6, "2607:f0d0:1002:52::5", &addr);
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_lpm_map.c | 356 inet_pton(AF_INET, "192.168.0.0", key_ipv4->data); 361 inet_pton(AF_INET, "192.168.0.0", key_ipv4->data); 366 inet_pton(AF_INET, "192.168.128.0", key_ipv4->data); 371 inet_pton(AF_INET, "192.168.1.0", key_ipv4->data); 376 inet_pton(AF_INET, "192.168.0.0", key_ipv4->data); 381 inet_pton(AF_INET6, "2a00:1450:4001:814::200e", key_ipv6->data); 389 inet_pton(AF_INET, "192.168.128.23", key_ipv4->data); 393 inet_pton(AF_INET, "192.168.0.1", key_ipv4->data); 397 inet_pton(AF_INET6, "2a00:1450:4001:814::", key_ipv6->data); 401 inet_pton(AF_INET6, "2a00:1450:4001:814::1", key_ipv6->data) [all...] |
/external/strace/tests/ |
netlink_sock_diag.c | 388 if (!inet_pton(AF_INET, address, &req.id.idiag_src) || 389 !inet_pton(AF_INET, address, &req.id.idiag_dst)) 390 perror_msg_and_skip("inet_pton"); 411 if (!inet_pton(AF_INET6, address6, &req.id.idiag_src) || 412 !inet_pton(AF_INET6, address6, &req.id.idiag_dst)) 413 perror_msg_and_skip("inet_pton"); 424 ", inet_pton(AF_INET6, \"%s\", &idiag_src)" 425 ", inet_pton(AF_INET6, \"%s\", &idiag_dst)", 454 if (!inet_pton(AF_INET, address, &req.id.idiag_src) || 455 !inet_pton(AF_INET, address, &req.id.idiag_dst) [all...] |
ip_mreq.c | 54 inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); 55 inet_pton(AF_INET, interface, &m4->imr_interface); 56 inet_pton(AF_INET6, multi6addr, &m6->ipv6mr_multiaddr); 90 "{inet_pton(AF_INET6, \"" multi6addr 97 "{inet_pton(AF_INET6, \"" multi6addr 104 "{inet_pton(AF_INET6, \"" multi6addr 111 "{inet_pton(AF_INET6, \"" multi6addr
|
nlattr_ifaddrmsg.c | 112 if (!inet_pton(AF_INET, address4, &a4)) 113 perror_msg_and_skip("inet_pton"); 124 if (!inet_pton(AF_INET6, address6, &a6)) 125 perror_msg_and_skip("inet_pton");
|
/external/strace/tests-m32/ |
netlink_sock_diag.c | 388 if (!inet_pton(AF_INET, address, &req.id.idiag_src) || 389 !inet_pton(AF_INET, address, &req.id.idiag_dst)) 390 perror_msg_and_skip("inet_pton"); 411 if (!inet_pton(AF_INET6, address6, &req.id.idiag_src) || 412 !inet_pton(AF_INET6, address6, &req.id.idiag_dst)) 413 perror_msg_and_skip("inet_pton"); 424 ", inet_pton(AF_INET6, \"%s\", &idiag_src)" 425 ", inet_pton(AF_INET6, \"%s\", &idiag_dst)", 454 if (!inet_pton(AF_INET, address, &req.id.idiag_src) || 455 !inet_pton(AF_INET, address, &req.id.idiag_dst) [all...] |
ip_mreq.c | 54 inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); 55 inet_pton(AF_INET, interface, &m4->imr_interface); 56 inet_pton(AF_INET6, multi6addr, &m6->ipv6mr_multiaddr); 90 "{inet_pton(AF_INET6, \"" multi6addr 97 "{inet_pton(AF_INET6, \"" multi6addr 104 "{inet_pton(AF_INET6, \"" multi6addr 111 "{inet_pton(AF_INET6, \"" multi6addr
|
nlattr_ifaddrmsg.c | 112 if (!inet_pton(AF_INET, address4, &a4)) 113 perror_msg_and_skip("inet_pton"); 124 if (!inet_pton(AF_INET6, address6, &a6)) 125 perror_msg_and_skip("inet_pton");
|
/external/strace/tests-mx32/ |
netlink_sock_diag.c | 388 if (!inet_pton(AF_INET, address, &req.id.idiag_src) || 389 !inet_pton(AF_INET, address, &req.id.idiag_dst)) 390 perror_msg_and_skip("inet_pton"); 411 if (!inet_pton(AF_INET6, address6, &req.id.idiag_src) || 412 !inet_pton(AF_INET6, address6, &req.id.idiag_dst)) 413 perror_msg_and_skip("inet_pton"); 424 ", inet_pton(AF_INET6, \"%s\", &idiag_src)" 425 ", inet_pton(AF_INET6, \"%s\", &idiag_dst)", 454 if (!inet_pton(AF_INET, address, &req.id.idiag_src) || 455 !inet_pton(AF_INET, address, &req.id.idiag_dst) [all...] |
ip_mreq.c | 54 inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); 55 inet_pton(AF_INET, interface, &m4->imr_interface); 56 inet_pton(AF_INET6, multi6addr, &m6->ipv6mr_multiaddr); 90 "{inet_pton(AF_INET6, \"" multi6addr 97 "{inet_pton(AF_INET6, \"" multi6addr 104 "{inet_pton(AF_INET6, \"" multi6addr 111 "{inet_pton(AF_INET6, \"" multi6addr
|
nlattr_ifaddrmsg.c | 112 if (!inet_pton(AF_INET, address4, &a4)) 113 perror_msg_and_skip("inet_pton"); 124 if (!inet_pton(AF_INET6, address6, &a6)) 125 perror_msg_and_skip("inet_pton");
|
/external/curl/lib/ |
inet_pton.h | 33 /* inet_pton() exists in Vista or later */ 36 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z)
|
/external/scapy/scapy/ |
utils6.py | 165 naddr = inet_pton(socket.AF_INET6, addr) 221 ifaceid = inet_pton(socket.AF_INET6, "::"+ifaceid)[8:16] 239 mask = inet_pton(socket.AF_INET6, "::ffff:ffff:ffff:ffff") 240 x = in6_and(mask, inet_pton(socket.AF_INET6, addr)) 288 addr = inet_pton(socket.AF_INET6, addr) 327 addr = inet_pton(socket.AF_INET, addr) 339 addr = inet_pton(socket.AF_INET6, addr) 370 eui64 = inet_pton(socket.AF_INET6, '::' + in6_mactoifaceid(mac))[8:] 400 s = inet_pton(socket.AF_INET6, "::"+ifaceid)[8:] + previous 444 d=struct.unpack("!IIII", inet_pton(socket.AF_INET6, addr) [all...] |
pton_ntop.py | 21 _INET6_PTON_EXC = socket.error("illegal IP address string passed to inet_pton") 25 used when socket.inet_pton is not available. 80 def inet_pton(af, addr): function 84 # Use inet_pton if available 86 return socket.inet_pton(af, addr) 96 used when socket.inet_pton is not available.
|
/device/generic/goldfish/dhcp/server/ |
main.cpp | 46 if (inet_pton(AF_INET, argv[i + 1], &address) > 0) { 54 if (inet_pton(AF_INET, next, &address) > 0) { 74 if (inet_pton(AF_INET, argv[i + 1], &address) > 0) { 88 if (inet_pton(AF_INET, argv[i + 1], &address) > 0) {
|
/external/curl/tests/server/ |
Makefile.inc | 47 ../../lib/inet_pton.c 54 ../../lib/inet_pton.c
|
/external/webrtc/webrtc/base/ |
nethelpers.h | 57 // rtc namespaced wrappers for inet_ntop and inet_pton so we can avoid 60 int inet_pton(int af, const char* src, void *dst);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
util.cpp | 43 if (inet_pton(AF_INET, address, &(sin->sin_addr)) > 0) { 51 if (inet_pton(AF_INET6, address, &(sin6->sin6_addr)) > 0) {
|
/external/ltp/testcases/network/lib6/ |
in6_01.c | 125 if (inet_pton(AF_INET6, "::1", &inl6) <= 0) 126 tst_brk(TBROK | TERRNO, "inet_pton(\"::1\")"); 145 if (inet_pton(AF_INET6, maptab[i].addr, &in6) <= 0) 180 rv = inet_pton(AF_INET, sstab[i].addr, &psin->sin_addr); 183 rv = inet_pton(AF_INET6, sstab[i].addr,
|