Home
last modified time | relevance | path

Searched refs:hst (Results 1 – 8 of 8) sorted by relevance

/netbsd/src/usr.sbin/lpr/lpd/
Dlpd.c371 chkplushost(int good, FILE *fhost, char *hst) in chkplushost() argument
391 fatal("address for your hostname (%s) not matched", hst); in chkplushost()
600 char hst[NI_MAXHOST], ip[NI_MAXHOST]; in chkhost() local
617 error = getnameinfo(f, f->sa_len, hst, sizeof(hst), NULL, 0, in chkhost()
620 error = getnameinfo(f, f->sa_len, hst, sizeof(hst), NULL, 0, in chkhost()
625 fatal("Host name for your address (%s) unknown", hst); in chkhost()
628 (void)strlcpy(fromb, hst, sizeof(fromb)); in chkhost()
632 error = getnameinfo(f, f->sa_len, hst, sizeof(hst), NULL, 0, in chkhost()
647 if (!error && !strcmp(hst, ip)) in chkhost()
669 chkplushost(good, hostf, hst); in chkhost()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dgetaddrinfo_hostspec.c54 struct hst { in roken_getaddrinfo_hostspec2() struct
59 } *hstp, hst[] = { in roken_getaddrinfo_hostspec2() local
71 for(hstp = hst; hstp->prefix; hstp++) { in roken_getaddrinfo_hostspec2()
/netbsd/src/sys/nfs/
Dnfs_vfsops.c582 char *pth, *hst; in nfs_mount() local
655 hst = malloc(MNAMELEN, M_TEMP, M_WAITOK); in nfs_mount()
656 error = copyinstr(args->hostname, hst, MNAMELEN - 1, &len); in nfs_mount()
659 memset(&hst[len], 0, MNAMELEN - len); in nfs_mount()
667 error = mountnfs(args, mp, nam, pth, hst, &vp, l); in nfs_mount()
670 free(hst, M_TEMP); in nfs_mount()
683 …gs *argp, struct mount *mp, struct mbuf *nam, const char *pth, const char *hst, struct vnode **vpp… in mountnfs() argument
746 error = set_statvfs_info(pth, UIO_SYSSPACE, hst, UIO_SYSSPACE, in mountnfs()
Dnfsmount.h190 struct mbuf *nam, const char *pth, const char *hst,
/netbsd/src/sys/fs/nfs/client/
Dnfs_clvfsops.c880 char hst[MNAMELEN]; in nfs_mount() local
1229 error = copyinstr(args.hostname, hst, MNAMELEN - 1, &hstlen); in nfs_mount()
1232 bzero(&hst[hstlen], MNAMELEN - hstlen); in nfs_mount()
1233 args.hostname = hst; in nfs_mount()
1243 bcopy(args.hostname, hst, MNAMELEN); in nfs_mount()
1244 hst[MNAMELEN - 1] = '\0'; in nfs_mount()
1271 bcopy(args.hostname, hst, MNAMELEN); in nfs_mount()
1272 hst[MNAMELEN - 1] = '\0'; in nfs_mount()
1278 snprintf(srvkrbname, sizeof (srvkrbname), "nfs@%s", hst); in nfs_mount()
1318 error = mountnfs(&args, mp, nam, hst, krbname, krbnamelen, dirpath, in nfs_mount()
[all …]
/netbsd/src/usr.sbin/mountd/
Dmountd.c921 const char *hst, *usr, *dom; in parse_host_netgroup() local
930 netgrp = getnetgrent(&hst, &usr, &dom); in parse_host_netgroup()
937 if (hst == NULL) { in parse_host_netgroup()
943 if (get_host(line, lineno, hst, *grp)) in parse_host_netgroup()
948 } while (netgrp && getnetgrent(&hst, &usr, &dom)); in parse_host_netgroup()
/netbsd/src/usr.sbin/makemandb/
Dnostem.txt1739 hst
/netbsd/src/etc/
Dservices21886 … Katsuhiko Abe mailto:kabe&hst.fujitsu.co.jp