summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/rpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/nfs/rpc.h')
-rw-r--r--nuttx/fs/nfs/rpc.h32
1 files changed, 2 insertions, 30 deletions
diff --git a/nuttx/fs/nfs/rpc.h b/nuttx/fs/nfs/rpc.h
index 47cfc2c0f..8fa3da917 100644
--- a/nuttx/fs/nfs/rpc.h
+++ b/nuttx/fs/nfs/rpc.h
@@ -134,12 +134,12 @@ struct call_result_pmap
struct call_args_mount
{
uint32_t len;
- char *rpath;
+ char rpath[92];
};
struct call_result_mount
{
- uint32_t problem;
+ uint32_t status;
nfsfh_t fhandle;
};
@@ -251,34 +251,6 @@ struct rpc_call_fs
/* Generic RPC reply headers */
-enum msg_type
-{
- CALL = 0,
- REPLY = 1
-};
-
-enum reply_stat
-{
- MSG_ACCEPTED = 0,
- MSG_DENIED = 1
-};
-
-enum accept_stat
-{
- SUCCESS = 0, /* RPC executed successfully */
- PROG_UNAVAIL = 1, /* remote hasn't exported program */
- PROG_MISMATCH = 2, /* remote can't support version # */
- PROC_UNAVAIL = 3, /* program can't support procedure */
- GARBAGE_ARGS = 4, /* procedure can't decode params */
- SYSTEM_ERR = 5 /* e.g. memory allocation failure */
-};
-
-enum reject_stat
-{
- RPC_MISMATCH = 0, /* RPC version number != 2 */
- AUTH_ERROR = 1 /* remote can't authenticate caller */
-};
-
struct rpc_reply_header
{
uint32_t rp_xid; /* request transaction id */