/external/libmicrohttpd/src/examples/ |
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/ |
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/ |
if2ip.c | 140 char ipstr[64]; local 176 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr));
|
/external/toybox/toys/pending/ |
route.c | 53 static int get_hostname(char *ipstr, struct sockaddr_in *sockin) 60 if (!strcmp(ipstr, "default")) { 65 if (inet_aton(ipstr, &sockin->sin_addr)) return 0; 66 if (!(host = gethostbyname(ipstr))) return -1;
|
/system/connectivity/shill/ |
connection_health_checker.cc | 405 char ipstr[INET_ADDRSTRLEN]; local 407 ipstr, sizeof(ipstr)); 415 CHECK(local_ip_address.SetAddressFromString(ipstr));
|
/external/webrtc/webrtc/base/ |
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)); [all...] |
/external/libmicrohttpd/src/testspdy/ |
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));
|