Lines Matching refs:hostname
88 const char *hostname;
301 protocol4a ? "a" : "", sx->hostname, sx->remote_port);
304 sx->hostname, sx->remote_port);
325 Curl_resolv(data, sx->hostname, sx->remote_port, TRUE, &dns);
331 infof(data, "SOCKS4 non-blocking resolve of %s", sx->hostname);
344 dns = Curl_fetch_addr(data, sx->hostname, (int)conn->port);
351 infof(data, "Hostname '%s' was found", sx->hostname);
394 failf(data, "SOCKS4 connection to %s not supported", sx->hostname);
398 sx->hostname);
437 /* append hostname */
438 hostnamelen = strlen(sx->hostname) + 1; /* length including NUL */
441 strcpy((char *)socksreq + packetsize, sx->hostname);
587 const size_t hostname_len = strlen(sx->hostname);
598 sx->hostname, sx->remote_port);
602 failf(data, "SOCKS5: the destination hostname is too long to be "
798 enum resolve_t rc = Curl_resolv(data, sx->hostname, sx->remote_port,
815 dns = Curl_fetch_addr(data, sx->hostname, sx->remote_port);
822 infof(data, "SOCKS5: hostname '%s' found", sx->hostname);
852 sx->hostname);
915 if(1 != Curl_inet_pton(AF_INET6, sx->hostname, ip6))
923 if(1 == Curl_inet_pton(AF_INET, sx->hostname, ip4)) {
931 memcpy(&socksreq[len], sx->hostname, hostname_len); /* w/o NULL */
935 sx->hostname, sx->remote_port);
994 sx->hostname, (unsigned char)socksreq[1]);
1159 sx->hostname =