Searched refs:hostp (Results 1 – 6 of 6) sorted by relevance
/original-bsd/sbin/mount_nfs/ |
H A D | mount_nfs.c | 486 char *hostp, *delimp; local 497 hostp = delimp + 1; 499 hostp = spec; 511 if (!strncmp(hostp, "iso=", 4)) { 514 hostp += 4; 516 if ((delimp = strchr(hostp, '+')) == NULL) { 521 if ((isop = iso_addr(hostp)) == NULL) { 532 hostp = delimp + 1; 540 if (isdigit(*hostp)) { 542 warnx("bad net address %s", hostp); [all …]
|
/original-bsd/sbin/umount/ |
H A D | umount.c | 189 char *type, *delimp, *hostp, *mntpt, rname[MAXPATHLEN]; local 226 hostp = delimp + 1; 228 hp = gethostbyname(hostp); 232 hostp = name; 233 hp = gethostbyname(hostp);
|
/original-bsd/lib/libc/gen/ |
H A D | getnetgrent.c | 92 getnetgrent(hostp, userp, domp) in getnetgrent() argument 93 char **hostp, **userp, **domp; in getnetgrent() 97 *hostp = nextgrp->ng_str[NG_HOST];
|
/original-bsd/usr.bin/telnet/ |
H A D | commands.c | 2250 if (hostp == 0) { 2251 hostp = *argv++; 2265 if (hostp == 0) 2269 if (hostp[0] == '@' || hostp[0] == '!') { 2271 hostname = strrchr(hostp, '@'); 2274 temp = sourceroute(hostp, &srp, &srlen); 2289 temp = inet_addr(hostp); 2293 (void) strcpy(_hostname, hostp); 2296 host = gethostbyname(hostp); 2309 herror(hostp); [all …]
|
/original-bsd/usr.sbin/sendmail/src/ |
H A D | parseaddr.c | 1328 char **hostp; local 1367 hostp = ++tv; 1369 hostp = NULL; 1377 if (hostp != NULL) 1378 cataddr(hostp, tv - 1, hbuf, sizeof hbuf, '\0'); 1384 if (hostp != NULL) 1451 if (hostp == NULL)
|
/original-bsd/sbin/mountd/ |
H A D | mountd.c | 1838 del_mlist(hostp, dirp) in del_mlist() argument 1839 char *hostp, *dirp; in del_mlist() 1849 if (!strcmp(mlp->ml_host, hostp) && 1875 add_mlist(hostp, dirp) in add_mlist() argument 1876 char *hostp, *dirp; in add_mlist() 1884 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp)) 1890 strncpy(mlp->ml_host, hostp, RPCMNT_NAMELEN);
|