Lines Matching refs:hostname

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