Home
last modified time | relevance | path

Searched refs:ipstr (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dspdy_event_loop.c60 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()
/third_party/curl/tests/libtest/
H A Dlib500.c66 char *ipstr = NULL; in test() local
97 res = curl_easy_getinfo(curl, CURLINFO_PRIMARY_IP, &ipstr); in test()
106 fprintf(moo, "IP %s\n", ipstr); in test()
/third_party/curl/lib/
H A Dif2ip.c123 char ipstr[64]; in Curl_if2ip() local
164 ip = Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr)); in Curl_if2ip()
H A Dftp.c936 char ipstr[50]; in ftp_state_use_port() local
1008 if(addrlen >= sizeof(ipstr)) in ftp_state_use_port()
1010 memcpy(ipstr, addr, addrlen); in ftp_state_use_port()
1011 ipstr[addrlen] = 0; in ftp_state_use_port()
1019 ipstr, hbuf, sizeof(hbuf))) { in ftp_state_use_port()
1022 host = ipstr; in ftp_state_use_port()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_new_connection.c828 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()
/third_party/toybox/toys/pending/
H A Droute.c77 static int get_hostname(char *ipstr, struct sockaddr_in *sockin) in get_hostname() argument
84 if (!strcmp(ipstr, "default")) { in get_hostname()
89 if (inet_aton(ipstr, &sockin->sin_addr)) return 0; in get_hostname()
90 if (!(host = gethostbyname(ipstr))) perror_exit("resolving '%s'", ipstr); in get_hostname()
/third_party/lwip/src/netif/ppp/
H A Ddemand.c328 char ipstr[16]; local
400 strcpy(ipstr,inet_ntoa(*( (struct in_addr *) (pkt->data+16))));
403 ipstr,
408 ipstr,
/third_party/node/deps/cares/src/lib/
H A Dares_sysconfig.c859 char *ipstr = NULL; in ares__init_sysconfig_libresolv() local
920 ipstr = ares__buf_finish_str(ipbuf, NULL); in ares__init_sysconfig_libresolv()
922 if (ipstr == NULL) { in ares__init_sysconfig_libresolv()
928 ares__sconfig_append_fromstr(&sysconfig->sconfig, ipstr, ARES_TRUE); in ares__init_sysconfig_libresolv()
930 ares_free(ipstr); in ares__init_sysconfig_libresolv()

Completed in 11 milliseconds