Home
last modified time | relevance | path

Searched refs:nfs_minvers (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/nfsd/
H A Dnfsd.c91 static int nfs_minvers = NFS_VER2; variable
310 nfs_minvers_size = sizeof(nfs_minvers); in main()
311 error = sysctlbyname("vfs.nfsd.server_min_nfsvers", &nfs_minvers, in main()
313 if (error != 0 || nfs_minvers < NFS_VER2 || nfs_minvers > NFS_VER4) { in main()
316 nfs_minvers = NFS_VER2; in main()
334 if (nfs_minvers == NFS_VER2) in main()
338 if (nfs_minvers <= NFS_VER3) in main()
358 if (nfs_minvers == NFS_VER2) in main()
362 if (nfs_minvers <= NFS_VER3) in main()
382 if (nfs_minvers == NFS_VER2) in main()
[all …]
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c90 NFSD_VNET_DEFINE_STATIC(int, nfs_minvers) = NFS_VER2;
92 CTLFLAG_NFSD_VNET | CTLFLAG_RWTUN, &NFSD_VNET_NAME(nfs_minvers), 0,
551 if (NFSD_VNET(nfs_minvers) == NFS_VER2) in nfsrvd_addsock()
554 if (NFSD_VNET(nfs_minvers) <= NFS_VER3 && in nfsrvd_addsock()