Searched refs:ipstr (Results 1 - 6 of 6) sorted by relevance
/external/libmicrohttpd/src/examples/ |
H A D | spdy_event_loop.c | 60 char ipstr[1024]; local 74 if(NULL == inet_ntop(AF_INET, &(addr4->sin_addr), ipstr, sizeof(ipstr))) 79 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); 85 if(NULL == inet_ntop(AF_INET6, &(addr6->sin6_addr), ipstr, sizeof(ipstr))) 90 printf("New connection from: %s:%i\n", ipstr, ntohs(addr6->sin6_port));
|
/external/curl/tests/libtest/ |
H A D | lib500.c | 64 char *ipstr=NULL; local 94 res = curl_easy_getinfo(curl, CURLINFO_PRIMARY_IP, &ipstr); 103 fprintf(moo, "IP: %s\n", ipstr);
|
/external/curl/lib/ |
H A D | if2ip.c | 139 char ipstr[64]; local 177 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr));
|
/external/toybox/toys/pending/ |
H A D | route.c | 78 static int get_hostname(char *ipstr, struct sockaddr_in *sockin) argument 85 if (!strcmp(ipstr, "default")) { 90 if (inet_aton(ipstr, &sockin->sin_addr)) return 0; 91 if (!(host = gethostbyname(ipstr))) perror_exit("resolving '%s'", ipstr);
|
/external/webrtc/webrtc/base/ |
H A D | network_unittest.cc | 879 std::string ipstr; local 881 ipstr = "2401:fa00:4:1000:be30:5bff:fee5:c3"; 882 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_DEPRECATED, &ip)); 899 ipstr = "fd00:fa00:4:1000:be30:5bff:fee5:c4"; 900 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_NONE, &ip)); 905 ipstr = "2401:fa00:4:1000:be30:5bff:fee5:c5"; 906 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_NONE, &ip)); 911 ipstr = "2401:fa00:4:1000:be30:5bff:fee5:c6"; 912 ASSERT_TRUE(IPFromString(ipstr, IPV6_ADDRESS_FLAG_TEMPORARY, &ip));
|
/external/libmicrohttpd/src/testspdy/ |
H A D | test_new_connection.c | 828 char ipstr[1024]; local 847 if(NULL == inet_ntop(AF_INET, &(addr4->sin_addr), ipstr, sizeof(ipstr))) 851 printf("New connection from: %s:%i\n", ipstr, ntohs(addr4->sin_port)); 859 if(NULL == inet_ntop(AF_INET6, &(addr6->sin6_addr), ipstr, sizeof(ipstr))) 863 printf("New connection from: %s:%i\n", ipstr, ntohs(addr6->sin6_port));
|
Completed in 137 milliseconds