Lines Matching refs:hostp
2183 char *cmd, *hostp = 0, *portp = 0, *user = 0;
2227 if (hostp == 0) {
2228 hostp = *argv++;
2242 if (hostp == 0)
2263 if (hostp[0] == '/') {
2266 if (strlen(hostp) >= sizeof(su.sun_path)) {
2268 hostp);
2271 hostname = hostp;
2274 strncpy(su.sun_path, hostp, sizeof su.sun_path);
2275 printf("Trying %s...\n", hostp);
2287 } else if (hostp[0] == '@' || hostp[0] == '!') {
2292 (hostname = strrchr(hostp, ':')) == NULL)
2293 hostname = strrchr(hostp, '@');
2295 hostname = hostp;
2301 hostname = hostp;
2339 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
2349 (void) strncpy(_hostname, hostp, sizeof(_hostname) - 1);
2361 strncpy(hostbuf, hostp, BUFSIZ - 1);
2364 hostp = hostbuf;
2366 result = sourceroute(res, hostp, &srp, &srlen, &proto, &opt);
2378 printf("Bad source route option: %s\n", hostp);
2480 cmdrc(hostp, hostname);