summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs/nfs_proto.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-09 19:29:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-09 19:29:49 +0000
commit59f64eb3c5ade626a3366355ae49344765d1a4c1 (patch)
tree503bd40e4c9634ec1b28fc23d26761878d266675 /nuttx/fs/nfs/nfs_proto.h
parent41375ad4a6216e206030e71aca39c54c94e00a57 (diff)
downloadpx4-nuttx-59f64eb3c5ade626a3366355ae49344765d1a4c1.tar.gz
px4-nuttx-59f64eb3c5ade626a3366355ae49344765d1a4c1.tar.bz2
px4-nuttx-59f64eb3c5ade626a3366355ae49344765d1a4c1.zip
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4821 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_proto.h')
-rw-r--r--nuttx/fs/nfs/nfs_proto.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/fs/nfs/nfs_proto.h b/nuttx/fs/nfs/nfs_proto.h
index 78b584238..20e80d833 100644
--- a/nuttx/fs/nfs/nfs_proto.h
+++ b/nuttx/fs/nfs/nfs_proto.h
@@ -584,6 +584,24 @@ struct CREATE3resok
struct wcc_data dir_wcc;
};
+struct LOOKUP3args
+{
+ struct file_handle dirhandle;
+ uint32_t namelen;
+ uint32_t name[1]; /* Actual size determined by namelen */
+};
+#define SIZEOF_LOOKUP3args(n) \
+ (sizeof(struct LOOKUP3args) + ((((n)+3) >> 2) - 1)*sizeof(uint32_t))
+
+struct LOOKUP3resok
+{
+ struct file_handle fshandle;
+ uint32_t obj_attributes_follow;
+ struct nfs_fattr obj_attributes;
+ uint32_t dir_attributes_follow;
+ struct nfs_fattr dir_attributes;
+};
+
struct READ3args
{
nfstype file;
@@ -698,3 +716,4 @@ struct FS3args
};
#endif /* __FS_NFS_NFS_PROTO_H */
+