Searched refs:ipstr (Results 1 – 6 of 6) sorted by relevance
/external/libmicrohttpd/src/examples/ |
D | spdy_event_loop.c | 60 char ipstr[1024]; in new_session_callback() local 74 if(NULL == inet_ntop(AF_INET, &(addr4->sin_addr), ipstr, sizeof(ipstr))) in new_session_callback() 79 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); in new_session_callback() 85 if(NULL == inet_ntop(AF_INET6, &(addr6->sin6_addr), ipstr, sizeof(ipstr))) in new_session_callback() 90 printf("New connection from: %s:%i\n", ipstr, ntohs(addr6->sin6_port)); in new_session_callback()
|
/external/curl/tests/libtest/ |
D | lib500.c | 64 char *ipstr=NULL; in test() local 94 res = curl_easy_getinfo(curl, CURLINFO_PRIMARY_IP, &ipstr); in test() 103 fprintf(moo, "IP: %s\n", ipstr); in test()
|
/external/curl/lib/ |
D | if2ip.c | 139 char ipstr[64]; in Curl_if2ip() local 177 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip()
|
/external/toybox/toys/pending/ |
D | route.c | 78 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/libmicrohttpd/src/testspdy/ |
D | test_new_connection.c | 828 char ipstr[1024]; in new_session_callback() local 847 if(NULL == inet_ntop(AF_INET, &(addr4->sin_addr), ipstr, sizeof(ipstr))) in new_session_callback() 851 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); in new_session_callback() 859 if(NULL == inet_ntop(AF_INET6, &(addr6->sin6_addr), ipstr, sizeof(ipstr))) in new_session_callback() 863 printf("New connection from: %s:%i\n", ipstr, ntohs(addr6->sin6_port)); in new_session_callback()
|
/external/webrtc/webrtc/base/ |
D | network_unittest.cc | 879 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()
|