Lines Matching refs:host

688 			    "with remote host.\n");
691 "Negotiating binary mode with remote host.\n");
698 "with remote host.\n");
701 "with remote host.\n");
2464 * - start with the target host, or with "@" or "!@" followed by at least one
2466 * - each host (can be literal address or hostname) can be separated by ",",
2468 * Note that the last host is the target, all the others (if any ) are the
2493 * as the target host and set the num_gw to 0. Therefore, none of the
2512 perror("telnet: copying host name");
2583 * The last host in the hostname_list is the target. After resolving the target,
2609 struct addrinfo *res, *host, *gateway, *addr;
2632 for (host = res; host != NULL; host = host->ai_next) {
2635 s6 = (struct sockaddr_in6 *)host->ai_addr;
2637 if (host->ai_addr->sa_family == AF_INET ||
2927 struct addrinfo *host = NULL;
3042 "usage: %s [-l user] [-a] host-name [port]\n", cmd);
3050 * For setup phase treat the relay host as the target host.
3060 /* Last host in the hostname_list is the target */
3063 host = resolve_hosts(hostname_list, num_gw, &gw_addrs, &addr_type,
3065 if (host == NULL) {
3101 (void) strlcpy(_hostname, host->ai_canonname,
3110 if (host->ai_family == AF_INET) {
3111 target_port = ((struct sockaddr_in *)(host->ai_addr))->sin_port;
3113 target_port = ((struct sockaddr_in6 *)(host->ai_addr))
3120 * we need it in host format.
3131 h = host;
3209 "telnet: Unable to connect to remote host");
3291 perror("telnet: Unable to connect to remote host");
3296 freeaddrinfo(host);
3297 host = NULL;
3346 "Connection to %.*s closed by foreign host.\n",
3356 if (host != NULL)
3357 freeaddrinfo(host);