Home
last modified time | relevance | path

Searched refs:hoststr (Results 1 – 3 of 3) sorted by relevance

/external/curl/lib/
Dcurl_addrinfo.c396 char *hoststr; in Curl_ip2addr() local
405 hoststr = strdup(hostname); in Curl_ip2addr()
406 if(!hoststr) { in Curl_ip2addr()
425 free(hoststr); in Curl_ip2addr()
431 h->h_name = hoststr; in Curl_ip2addr()
447 free(hoststr); in Curl_ip2addr()
/external/libpcap/
Dpcap-new.c1227 char hoststr[RPCAP_HOSTLIST_SIZE + 1]; in pcap_remoteact_list() local
1239 if (sock_getascii_addrport((struct sockaddr_storage *) &temp->host, hoststr, in pcap_remoteact_list()
1248 len = len + strlen(hoststr) + 1 /* the separator */; in pcap_remoteact_list()
1257 strlcat(hostlist, hoststr, PCAP_ERRBUF_SIZE); in pcap_remoteact_list()
/external/openssh/
Dmisc.c374 char *hoststr; in put_host_port() local
378 if (asprintf(&hoststr, "[%s]:%d", host, (int)port) < 0) in put_host_port()
380 debug3("put_host_port: %s", hoststr); in put_host_port()
381 return hoststr; in put_host_port()