Home
last modified time | relevance | path

Searched refs:inet_pton (Results 1 – 25 of 130) sorted by relevance

123456

/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/IN/
DAAAA.py32 junk = dns.inet.inet_pton(dns.inet.AF_INET6, address)
46 file.write(dns.inet.inet_pton(dns.inet.AF_INET6, self.address))
56 sa = dns.inet.inet_pton(dns.inet.AF_INET6, self.address)
57 oa = dns.inet.inet_pton(dns.inet.AF_INET6, other.address)
DIPSECKEY.py49 junk = dns.inet.inet_pton(dns.inet.AF_INET, gateway)
52 junk = dns.inet.inet_pton(dns.inet.AF_INET6, gateway)
108 file.write(dns.inet.inet_pton(dns.inet.AF_INET, self.gateway))
110 file.write(dns.inet.inet_pton(dns.inet.AF_INET6, self.gateway))
/external/autotest/client/tests/ipv6connect/src/
Dipv6connect.c52 inet_pton(AF_INET6, "::1", &sa.sin6_addr); in ConnectAndAccept()
54 inet_pton(AF_INET6, "::ffff:127.0.0.1", &sa.sin6_addr); in ConnectAndAccept()
78 inet_pton(AF_INET, "127.0.0.1", &sa4.sin_addr); in ConnectAndAccept()
161 inet_pton(AF_INET6, "::1", &sa.sin6_addr); in CreateServerConnectAndAccept()
163 inet_pton(AF_INET6, "::ffff:127.0.0.1", &sa.sin6_addr); in CreateServerConnectAndAccept()
181 inet_pton(AF_INET, "127.0.0.1", &sa4.sin_addr); in CreateServerConnectAndAccept()
302 inet_pton(AF_INET6, "::1", &sa.sin6_addr); in ThreadedCreateServerConnectAndAccept()
304 inet_pton(AF_INET6, "::ffff:127.0.0.1", &sa.sin6_addr); in ThreadedCreateServerConnectAndAccept()
/external/ltp/testcases/network/lib6/
Din6_01.c152 if (inet_pton(AF_INET6, "::1", &inl6) <= 0) in test_global_in6_def()
171 if (inet_pton(AF_INET6, maptab[i].addr, &in6) <= 0) { in test_in6_is_addr_v4mapped()
207 rv = inet_pton(AF_INET, sstab[i].addr, &psin->sin_addr); in test_sockaddr_storage()
210 rv = inet_pton(AF_INET6, sstab[i].addr, in test_sockaddr_storage()
/external/strace/tests-mx32/
Dip_mreq.c52 inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); in main()
53 inet_pton(AF_INET, interface, &m4->imr_interface); in main()
54 inet_pton(AF_INET6, multi6addr, &m6->ipv6mr_multiaddr); in main()
Dnet-sockaddr.c175 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6_linklocal()
214 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
231 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
245 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
/external/strace/tests-m32/
Dip_mreq.c52 inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); in main()
53 inet_pton(AF_INET, interface, &m4->imr_interface); in main()
54 inet_pton(AF_INET6, multi6addr, &m6->ipv6mr_multiaddr); in main()
Dnet-sockaddr.c175 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6_linklocal()
214 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
231 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
245 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
/external/strace/tests/
Dip_mreq.c52 inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); in main()
53 inet_pton(AF_INET, interface, &m4->imr_interface); in main()
54 inet_pton(AF_INET6, multi6addr, &m6->ipv6mr_multiaddr); in main()
Dnet-sockaddr.c175 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6_linklocal()
214 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
231 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
245 inet_pton(AF_INET6, h_addr, &in6->sin6_addr); in check_in6()
/external/libnl/tests/
Dtest-create-ip6tnl.c39 inet_pton(AF_INET6, "2607:f0d0:1002:51::4", &addr); in main()
42 inet_pton(AF_INET6, "2607:f0d0:1002:52::5", &addr); in main()
Dtest-create-sit.c39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main()
42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
Dtest-create-ipgre.c39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main()
42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
Dtest-create-ipvti.c39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main()
42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
Dtest-create-ipip.c39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main()
42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
/external/toybox/toys/pending/
Dping.c61 if (inet_pton(AF_INET6, toys.optargs[0], (void*)&src_addr))
79 if (!inet_pton(family, TT.iface, &src_addr)) {
/external/curl/tests/server/
DMakefile.inc51 ../../lib/inet_pton.c
58 ../../lib/inet_pton.c
/external/android-clat/
Dclatd_test.cpp561 inet_pton(AF_INET, kIPv4LocalAddr, &Global_Clatd_Config.ipv4_local_subnet); in SetUp()
562 inet_pton(AF_INET6, kIPv6PlatSubnet, &Global_Clatd_Config.plat_subnet); in SetUp()
563 inet_pton(AF_INET6, kIPv6LocalAddr, &Global_Clatd_Config.ipv6_local_subnet); in SetUp()
623 ASSERT_TRUE(inet_pton(AF_INET6, "::bad:ace:d00d", &Global_Clatd_Config.ipv6_host_id)); in TEST_F()
624 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:0:bad:ace:d00d", &expected)); in TEST_F()
625 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", &myaddr)); in TEST_F()
636 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", &interface_ipv6)); in TEST_F()
699 inet_pton(AF_INET, kIPv4LocalAddr, &addr); in TEST_F()
916 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", in TEST_F()
Dconfig.c110 status = inet_pton(AF_INET, tmp, ret_val_ptr); in config_item_ip()
135 status = inet_pton(AF_INET6, tmp, ret_val_ptr); in config_item_ip6()
338 if(inet_pton(AF_INET6, plat_prefix, &Global_Clatd_Config.plat_subnet) <= 0) { in read_config()
/external/webrtc/webrtc/base/
Dnethelpers.cc110 int inet_pton(int af, const char* src, void *dst) { in inet_pton() function
114 return ::inet_pton(af, src, dst); in inet_pton()
/external/fio/lib/
Dinet_aton.c5 return inet_pton(AF_INET, cp, inp); in inet_aton()
/external/tcpdump/missing/
Dinet_pton.c42 inet_pton(int af, const char *src, void *dst) in inet_pton() function
/external/curl/lib/
Dinet_pton.h33 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z)
/external/fio/os/windows/posix/include/arpa/
Dinet.h17 int inet_pton(int af, const char *restrict src, void *restrict dst);
/external/libpcap/Win32/Src/
Dinet_pton.c57 inet_pton(int af, const char *src, void *dst) in inet_pton() function

123456