Home
last modified time | relevance | path

Searched refs:inet_aton (Results 1 - 25 of 32) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
H A Darpa_inet_test.cpp41 * @tc.desc: Verify that the inet_aton function correctly converts a valid IPv4 address to binary format and stores
49 int result = inet_aton("127.9.8.7", &addr); in HWTEST_F()
56 * @tc.desc: Verify that the inet_aton function correctly converts a partial IPv4 address to binary format and stores
64 int result = inet_aton("127.9.8", &addr); in HWTEST_F()
71 * @tc.desc: Verify that the inet_aton function correctly converts a partial IPv4 address to binary format and stores
79 int result = inet_aton("127.9", &addr); in HWTEST_F()
86 * @tc.desc: Verify that the inet_aton function correctly converts a hexadecimal IPv4 address to binary format and
94 int result = inet_aton("0xFf.0.0.9", &addr); in HWTEST_F()
101 * @tc.desc: Verify that the inet_aton function correctly converts a hexadecimal IPv4 address to binary format and
109 int result = inet_aton(" in HWTEST_F()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dinet_aton.c28 int ret = inet_aton("127.1.2.3", &a); in inet_aton_0100()
30 t_error("%s inet_aton failed\n", __func__); in inet_aton_0100()
33 t_error("%s inet_aton invalid\n", __func__); in inet_aton_0100()
46 int ret = inet_aton("127.1.2", &a); in inet_aton_0200()
48 t_error("%s inet_aton failed\n", __func__); in inet_aton_0200()
51 t_error("%s inet_aton invalid\n", __func__); in inet_aton_0200()
64 int ret = inet_aton("127.1", &a); in inet_aton_0300()
66 t_error("%s inet_aton failed\n", __func__); in inet_aton_0300()
69 t_error("%s inet_aton invalid\n", __func__); in inet_aton_0300()
82 int ret = inet_aton(" in inet_aton_0400()
[all...]
/third_party/ltp/testcases/kernel/syscalls/accept/
H A Daccept02.c120 inet_aton(MULTICASTIP, &mc_group_addr->sin_addr); in setup()
123 inet_aton(LOCALHOSTIP, &server_addr->sin_addr); in setup()
/third_party/backends/lib/
H A Dinet_pton.c27 result = inet_aton (src, &in); in inet_pton()
/third_party/musl/porting/liteos_m/kernel/include/arpa/
H A Dinet.h22 int inet_aton (const char *, struct in_addr *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/
H A Dinet.h22 int inet_aton (const char *, struct in_addr *);
/third_party/musl/porting/uniproton/kernel/include/arpa/
H A Dinet.h22 int inet_aton (const char *, struct in_addr *);
/third_party/musl/porting/liteos_a/kernel/include/arpa/
H A Dinet.h22 int inet_aton (const char *, struct in_addr *);
/third_party/musl/porting/liteos_a_newlib/kernel/include/arpa/
H A Dinet.h22 int inet_aton (const char *, struct in_addr *);
/third_party/musl/include/arpa/
H A Dinet.h22 int inet_aton (const char *, struct in_addr *);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dip_addr.c39 if (inet_aton(txt, &addr->u.v4)) { in hostapd_parse_ip_addr()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dip_addr.c39 if (inet_aton(txt, &addr->u.v4)) { in hostapd_parse_ip_addr()
/third_party/ffmpeg/libavformat/
H A Dos_support.c23 /* needed by inet_aton() */
50 static int inet_aton(const char *str, struct in_addr *add) in inet_aton() function
80 if (!inet_aton(node, &sin->sin_addr)) { in ff_getaddrinfo()
/third_party/musl/src/network/
H A Dinet_aton.c41 weak_alias(__inet_aton, inet_aton);
/third_party/toybox/toys/pending/
H A Darping.c224 if (!inet_aton(*toys.optargs, &dest_addr)) { in arping_main()
230 if ((toys.optflags & FLAG_s) && !(inet_aton(TT.src_ip, &src_addr))) in arping_main()
H A Droute.c89 if (inet_aton(ipstr, &sockin->sin_addr)) return 0; in get_hostname()
H A Dtraceroute.c584 if (!inet_aton(TT.src_ip, &(source.sin_addr))) in traceroute_main()
H A Ddhcp.c1011 inet_aton(TT.req_ip, &rqsd); in dhcpc_sendmsg()
/third_party/lwip/src/include/lwip/
H A Dinet.h140 #define inet_aton(cp, addr) ip4addr_aton(cp, (ip4_addr_t*)addr) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dhttp_client.c211 if (inet_aton(addr, &dst->sin_addr) == 0) { in http_client_url_parse()
H A Dwps_er.c1291 if (inet_aton(filter, &er->filter_addr) == 0) { in wps_er_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dhttp_client.c211 if (inet_aton(addr, &dst->sin_addr) == 0) { in http_client_url_parse()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Diapp.c442 inet_aton(IAPP_MULTICAST, &iapp->multicast); in iapp_init()
/third_party/python/Lib/
H A Dssl.py335 # inet_aton() also accepts strings like '1', '127.1', some also trailing
338 addr = _socket.inet_aton(ipname)
/third_party/python/Modules/
H A Dsocketmodule.c41 - socket.inet_aton(IP address) -> 32-bit packed IP representation
101 * inet_aton is not available on OSX 10.3, yet we want to use a binary
105 # pragma weak inet_aton macro
6315 /* socket.inet_aton() and socket.inet_ntoa() functions. */
6318 "inet_aton(string) -> bytes giving packed 32-bit IP representation\n\
6339 if (!PyArg_ParseTuple(args, "s:inet_aton", &ip_addr))
6346 if (inet_aton != NULL) {
6348 if (inet_aton(ip_addr, &buf))
6353 "illegal IP address string passed to inet_aton");
6375 "illegal IP address string passed to inet_aton");
[all...]

Completed in 28 milliseconds

12