/src/sbin/mount_nfs/ |
getnfsargs.c | 115 char *hostp, *delimp; local in function:getnfsargs 121 hostp = delimp + 1; 123 hostp = spec; 137 if (getaddrinfo(hostp, "nfs", &hints, &ai_nfs) != 0) { 139 if ((ecode = getaddrinfo(hostp, "nfs", &hints, &ai_nfs)) != 0) { 140 warnx("can't get net id for host \"%s\": %s", hostp, 180 if (!rpcb_getaddr(RPCPROG_NFS, nfsvers, nconf, &nfs_nb, hostp)){ 204 clp = clnt_tp_create(hostp, RPCPROG_MNT, mntvers,
|
getnfsargs_small.c | 195 char *hostp, *delimp; local in function:getnfsargs 203 hostp = delimp + 1; 205 hostp = spec; 216 if ((ecode = getaddrinfo(hostp, "nfs", &hints, &ai_nfs)) != 0) { 217 warnx("can't get net id for host \"%s\": %s", hostp,
|
/src/usr.bin/last/ |
want.c | 80 char hostbuf[sizeof(bp->ut_host) + 1], *hostp; local in function:wtmp 181 gethost(bp, hostp, numeric), ct); 198 gethost(bp, hostp, numeric), 223 gethost(bp, hostp, numeric),
|
/src/usr.sbin/faithd/ |
ftp.c | 740 char *afp, *hostp, *portp; local in function:ftp_copycommand 767 hostp = p; 789 error = getaddrinfo(hostp, portp, &hints, &res); 798 hostp);
|
/src/sbin/umount/ |
umount.c | 198 char *hostp = NULL; local in function:umountfs 266 hostp = malloc(len + 1); 267 if (hostp == NULL) 269 memcpy(hostp, name, len); 270 hostp[len] = 0; 272 if (getaddrinfo(hostp, NULL, &hints, &ai) != 0) 343 clp = clnt_create(hostp, RPCPROG_MNT, RPCMNT_VER1, proto);
|
/src/sys/fs/nfs/client/ |
nfs_clvfsops.c | 756 char *delimp, *hostp, *spec; local in function:nfs_mount_parse_from 770 hostp = spec + 1; 774 hostp = spec; 779 hostp = delimp + 1; 795 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { 796 printf("%s: %s:%s: name too long", __func__, hostp, spec); 800 if (*hostp != '\0') { 801 len = strlen(hostp); 805 memmove(nam + offset, hostp, len); 818 rv = inet_pton(AF_INET, hostp, &sin->sin_addr) [all...] |
/src/usr.bin/telnet/ |
commands.c | 2098 char *cmd, *hostp = 0; 2133 if (hostp == 0) { 2134 hostp = *argv++; 2147 if (hostp == 0) 2150 (void) strlcpy(_hostname, hostp, sizeof(_hostname)); 2151 hostname = hostp; 2251 cmdrc(hostp, hostname); 2090 char *cmd, *hostp = 0; local in function:tn
|