Lines Matching refs:hostp
2191 char *cmd, *hostp = 0, *portp = 0, *user = 0;
2235 if (hostp == 0) {
2236 hostp = *argv++;
2250 if (hostp == 0)
2271 if (hostp[0] == '/') {
2274 if (strlen(hostp) >= sizeof(su.sun_path)) {
2276 hostp);
2279 hostname = hostp;
2282 strlcpy(su.sun_path, hostp, sizeof su.sun_path);
2283 printf("Trying %s...\n", hostp);
2295 } else if (hostp[0] == '@' || hostp[0] == '!') {
2300 (hostname = strrchr(hostp, ':')) == NULL)
2301 hostname = strrchr(hostp, '@');
2303 hostname = hostp;
2309 hostname = hostp;
2347 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
2357 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
2369 strncpy(hostbuf, hostp, BUFSIZ - 1);
2372 hostp = hostbuf;
2374 result = sourceroute(res, hostp, &srp, &srlen, &proto, &opt);
2386 printf("Bad source route option: %s\n", hostp);
2488 cmdrc(hostp, hostname);