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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/fs/nfs/rpc.h b/nuttx/fs/nfs/rpc.h
index 15b340ee4..653802b10 100644
--- a/nuttx/fs/nfs/rpc.h
+++ b/nuttx/fs/nfs/rpc.h
@@ -360,6 +360,12 @@ struct rpc_call_readdir
struct READDIR3args readdir;
};
+struct rpc_call_setattr
+{
+ struct rpc_call_header ch;
+ struct SETATTR3args setattr;
+};
+
struct rpc_call_fs
{
struct rpc_call_header ch;
@@ -489,6 +495,13 @@ struct rpc_reply_getattr
struct nfs_fattr attr;
};
+struct rpc_reply_setattr
+{
+ struct rpc_reply_header rh;
+ uint32_t status;
+ struct SETATTR3resok setattr;
+};
+
struct rpcclnt
{
nfsfh_t rc_fh; /* File handle of root dir */