Home
last modified time | relevance | path

Searched refs:ipstr (Results 1 – 4 of 4) sorted by relevance

/external/curl/tests/libtest/
Dlib500.c64 char *ipstr = NULL; in test() local
95 res = curl_easy_getinfo(curl, CURLINFO_PRIMARY_IP, &ipstr); in test()
104 fprintf(moo, "IP: %s\n", ipstr); in test()
/external/curl/lib/
Dif2ip.c123 char ipstr[64]; in Curl_if2ip() local
161 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip()
/external/toybox/toys/pending/
Droute.c78 static int get_hostname(char *ipstr, struct sockaddr_in *sockin) in get_hostname() argument
85 if (!strcmp(ipstr, "default")) { in get_hostname()
90 if (inet_aton(ipstr, &sockin->sin_addr)) return 0; in get_hostname()
91 if (!(host = gethostbyname(ipstr))) perror_exit("resolving '%s'", ipstr); in get_hostname()
/external/webrtc/webrtc/base/
Dnetwork_unittest.cc879 std::string ipstr; in TEST_F() local
881 ipstr = "2401:fa00:4:1000:be30:5bff:fee5:c3"; in TEST_F()
882 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_DEPRECATED, &ip)); in TEST_F()
899 ipstr = "fd00:fa00:4:1000:be30:5bff:fee5:c4"; in TEST_F()
900 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_NONE, &ip)); in TEST_F()
905 ipstr = "2401:fa00:4:1000:be30:5bff:fee5:c5"; in TEST_F()
906 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_NONE, &ip)); in TEST_F()
911 ipstr = "2401:fa00:4:1000:be30:5bff:fee5:c6"; in TEST_F()
912 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_TEMPORARY, &ip)); in TEST_F()