Home
last modified time | relevance | path

Searched refs:mnt_version (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/external/bsd/am-utils/dist/amd/
Damfs_host.c322 u_long mnt_version; in amfs_host_mount() local
353 mnt_version = AM_MOUNTVERS3; in amfs_host_mount()
356 mnt_version = MOUNTVERS; in amfs_host_mount()
372 client = get_mount_client(host, &sin, &tv, &sock, mnt_version); in amfs_host_mount()
642 u_long mnt_version; in amfs_host_umounted() local
664 mnt_version = AM_MOUNTVERS3; in amfs_host_umounted()
667 mnt_version = MOUNTVERS; in amfs_host_umounted()
674 client = get_mount_client(host, &sin, &tv, &sock, mnt_version); in amfs_host_umounted()
Dsrvr_nfs.c276 u_long mnt_version; in recompute_portmap() local
302 mnt_version = AM_MOUNTVERS3; in recompute_portmap()
305 mnt_version = MOUNTVERS; in recompute_portmap()
307 plog(XLOG_INFO, "Using MOUNT version: %d", (int) mnt_version); in recompute_portmap()
308 call_portmap(fs, nfs_auth, MOUNTPROG, mnt_version, (u_long) IPPROTO_UDP); in recompute_portmap()
Dops_nfs.c541 u_long mnt_version; in call_mountd() local
562 mnt_version = AM_MOUNTVERS3; in call_mountd()
565 mnt_version = MOUNTVERS; in call_mountd()
567 (int) fp->fh_nfs_version, (int) mnt_version); in call_mountd()
569 rpc_msg_init(&mnt_msg, MOUNTPROG, mnt_version, MOUNTPROC_NULL); in call_mountd()
/netbsd/src/external/bsd/am-utils/dist/conf/transp/
Dtransp_sockets.c161 …ient(char *unused_host, struct sockaddr_in *sin, struct timeval *tv, int *sock, u_long mnt_version) in get_mount_client() argument
180 if ((sin->sin_port = htons(pmap_getport(sin, MOUNTPROG, mnt_version, IPPROTO_TCP))) != 0) { in get_mount_client()
182 && ((client = clnttcp_create(sin, MOUNTPROG, mnt_version, sock, 0, 0)) != NULL)) in get_mount_client()
210 if ((client = clntudp_create(sin, MOUNTPROG, mnt_version, *tv, sock)) == NULL) { in get_mount_client()
Dtransp_tli.c165 …ient(char *host, struct sockaddr_in *unused_sin, struct timeval *tv, int *sock, u_long mnt_version) in get_mount_client() argument
186 if (!rpcb_getaddr(MOUNTPROG, mnt_version, nc, &nb, host)) { in get_mount_client()
205 if ((client = clnt_vc_create(*sock, &nb, MOUNTPROG, mnt_version, 0, 0)) in get_mount_client()
233 if (!rpcb_getaddr(MOUNTPROG, mnt_version, nc, &nb, host)) { in get_mount_client()
250 if ((client = clnt_dg_create(*sock, &nb, MOUNTPROG, mnt_version, 0, 0)) in get_mount_client()
/netbsd/src/external/bsd/am-utils/dist/include/
Dam_utils.h277 …ent(char *unused_host, struct sockaddr_in *sin, struct timeval *tv, int *sock, u_long mnt_version);
/netbsd/src/external/bsd/am-utils/dist/
DChangeLog9600 (call_mountd): Likewise, mnt_version also.
9614 (recompute_portmap): Likewise for fs->fs_version, mnt_version.