2 * (C) Masami Komiya <mkomiya@sonare.it> 2004
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2, or (at
7 * your option) any later version.
13 #define SUNRPC_PORT 111
15 #define PROG_PORTMAP 100000
16 #define PROG_NFS 100003
17 #define PROG_MOUNT 100005
22 #define PORTMAP_GETPORT 3
24 #define MOUNT_ADDENTRY 1
25 #define MOUNT_UMOUNTALL 4
28 #define NFS_READLINK 5
34 #define NFSERR_NOENT 2
35 #define NFSERR_ACCES 13
36 #define NFSERR_ISDIR 21
37 #define NFSERR_INVAL 22
39 /* Block size used for NFS read accesses. A RPC reply packet (including all
40 * headers) must fit within a single Ethernet frame to avoid fragmentation.
41 * Chosen to be a power of two, as most NFS servers are optimized for this. */
42 #define NFS_READ_SIZE 1024
44 #define NFS_MAXLINKDEPTH 16
69 extern void NfsStart (void); /* Begin NFS */
72 /**********************************************************************/
74 #endif /* __NFS_H__ */