Home
last modified time | relevance | path

Searched refs:hostp (Results 1 – 4 of 4) sorted by relevance

/external/curl/lib/
Dhostcheck.c126 char *hostp; in Curl_cert_hostcheck() local
134 hostp = strdup(hostname); in Curl_cert_hostcheck()
135 if(hostp) { in Curl_cert_hostcheck()
136 if(hostmatch(hostp, matchp) == CURL_HOST_MATCH) in Curl_cert_hostcheck()
138 free(hostp); in Curl_cert_hostcheck()
Dhostip.c776 struct curl_slist *hostp; in Curl_loadhostpairs() local
781 for(hostp = data->change.resolve; hostp; hostp = hostp->next) { in Curl_loadhostpairs()
782 if(!hostp->data) in Curl_loadhostpairs()
784 if(hostp->data[0] == '-') { in Curl_loadhostpairs()
788 if(2 != sscanf(hostp->data + 1, "%255[^:]:%d", hostname, &port)) { in Curl_loadhostpairs()
790 hostp->data); in Curl_loadhostpairs()
821 if(3 != sscanf(hostp->data, "%255[^:]:%d:%255s", hostname, &port, in Curl_loadhostpairs()
824 hostp->data); in Curl_loadhostpairs()
830 infof(data, "Address in '%s' found illegal!\n", hostp->data); in Curl_loadhostpairs()
/external/openssh/
Dssh.c379 resolve_canonicalize(char **hostp, int port) in resolve_canonicalize() argument
397 if ((addrs = resolve_addr(*hostp, port, in resolve_canonicalize()
399 debug2("%s: hostname %.100s is address", __func__, *hostp); in resolve_canonicalize()
400 if (strcasecmp(*hostp, newname) != 0) { in resolve_canonicalize()
402 __func__, *hostp, newname); in resolve_canonicalize()
403 free(*hostp); in resolve_canonicalize()
404 *hostp = xstrdup(newname); in resolve_canonicalize()
411 for (cp = *hostp; *cp != '\0'; cp++) { in resolve_canonicalize()
417 __func__, *hostp, options.canonicalize_max_dots); in resolve_canonicalize()
423 xasprintf(&fullhost, "%s.%s.", *hostp, in resolve_canonicalize()
[all …]
Dsshconnect.c814 char hostline[1000], *hostp, *fp, *ra; in check_host_key() local
1006 hostp = hostline; in check_host_key()
1022 hostp = host; in check_host_key()
1030 "list of known hosts.", hostp, type); in check_host_key()