Lines Matching refs:remote_port
190 int remote_port, in Curl_SOCKS4() argument
218 protocol4a ? "a" : "", hostname, remote_port); in Curl_SOCKS4()
220 infof(data, "SOCKS4 communication to %s:%d", hostname, remote_port); in Curl_SOCKS4()
235 socksreq[2] = (unsigned char)((remote_port >> 8) & 0xff); /* PORT MSB */ in Curl_SOCKS4()
236 socksreq[3] = (unsigned char)(remote_port & 0xff); /* PORT LSB */ in Curl_SOCKS4()
241 Curl_resolv(data, hostname, remote_port, FALSE, &dns); in Curl_SOCKS4()
489 int remote_port, in Curl_SOCKS5() argument
534 hostname, remote_port); in Curl_SOCKS5()
759 enum resolve_t rc = Curl_resolv(data, hostname, remote_port, in Curl_SOCKS5()
776 dns = Curl_fetch_addr(data, hostname, remote_port); in Curl_SOCKS5()
809 msnprintf(dest + destlen, sizeof(dest) - destlen, ":%d", remote_port); in Curl_SOCKS5()
864 hostname, remote_port); in Curl_SOCKS5()
871 socksreq[len++] = (unsigned char)((remote_port >> 8) & 0xff); in Curl_SOCKS5()
873 socksreq[len++] = (unsigned char)(remote_port & 0xff); in Curl_SOCKS5()