Lines Matching refs:hostp
2115 char *cmd, *hostp = NULL, *portp = NULL, *user = NULL; in tn() local
2159 if (hostp == NULL) { in tn()
2160 hostp = *argv++; in tn()
2174 if (hostp == NULL) in tn()
2196 if (hostp[0] == '/') { in tn()
2199 if (strlen(hostp) >= sizeof(su.sun_path)) { in tn()
2201 hostp); in tn()
2206 strncpy(su.sun_path, hostp, sizeof su.sun_path); in tn()
2207 printf("Trying %s...\n", hostp); in tn()
2219 } else if (hostp[0] == '@' || hostp[0] == '!') { in tn()
2224 (hostname = strrchr(hostp, ':')) == NULL) in tn()
2225 hostname = strrchr(hostp, '@'); in tn()
2227 hostname = hostp; in tn()
2233 hostname = hostp; in tn()
2268 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1); in tn()
2278 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1); in tn()
2290 strncpy(hostbuf, hostp, BUFSIZ - 1); in tn()
2293 hostp = hostbuf; in tn()
2295 result = sourceroute(res, hostp, &srp, &srlen, &proto, &opt); in tn()
2307 printf("Bad source route option: %s\n", hostp); in tn()
2399 cmdrc(hostp, hostname); in tn()