Home | History | Annotate | Download | only in lib

Lines Matching refs:hostname

109                      const char *hostname,
132 protocol4a ? "a" : "", hostname, remote_port);
136 infof(data, "SOCKS4 communication to %s:%d\n", hostname, remote_port);
160 rc = Curl_resolv(conn, hostname, remote_port, &dns);
200 hostname);
235 /* If still enough room in buffer, also append hostname */
236 hostnamelen = (ssize_t)strlen(hostname) + 1; /* length including NUL */
238 strcpy((char *)socksreq + packetsize, hostname);
240 hostnamelen = 0; /* Flag: hostname did not fit in buffer */
252 /* SOCKS4a with very long hostname - send that name separately */
253 hostnamelen = (ssize_t)strlen(hostname) + 1;
254 code = Curl_write_plain(conn, sock, (char *)hostname, hostnamelen,
355 const char *hostname,
388 const size_t hostname_len = strlen(hostname);
395 hostname, remote_port);
457 infof(data, "SOCKS5 communication to %s:%d\n", hostname, remote_port);
595 memcpy(&socksreq[len], hostname, hostname_len); /* address str w/o NULL */
601 int rc = Curl_resolv(conn, hostname, remote_port, &dns);
659 hostname);