patch-1.3.42 linux/include/linux/nfs_mount.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/nfs_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/include/linux/nfs_mount.h linux/include/linux/nfs_mount.h
@@ -17,7 +17,19 @@
  * but here they are anyway.
  */
 
-#define NFS_MOUNT_VERSION	1	/* current version */
+#define NFS_NFS_PROGRAM		100003	/* nfsd program number */
+#define NFS_NFS_VERSION		2	/* nfsd version */
+#define NFS_NFS_PORT		2049	/* portnumber on server for nfsd */
+
+#define NFS_MOUNT_PROGRAM	100005	/* mountd program number */
+#define NFS_MOUNT_VERSION	1	/* mountd version */
+#define NFS_MOUNT_PROC		1	/* mount process id */
+#define NFS_MOUNT_PORT		627	/* portnumber on server for mountd */
+
+#define NFS_PMAP_PROGRAM	100000	/* portmap program number */
+#define NFS_PMAP_VERSION	2	/* portmap version */
+#define NFS_PMAP_PROC		3	/* portmap getport id */
+#define NFS_PMAP_PORT		111	/* portnumber on server for portmap */
 
 struct nfs_mount_data {
 	int version;			/* 1 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this