diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-14 13:08:48 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-14 13:08:48 +0000 |
commit | c3cba922650428a04863083e0c891aeec57746a4 (patch) | |
tree | 71349ba6a475002c918c95bc25f01ed538f43ae4 /nuttx/include | |
parent | 27509b04d0ef140a58fe0a7f883aeb886778d858 (diff) | |
download | px4-firmware-c3cba922650428a04863083e0c891aeec57746a4.tar.gz px4-firmware-c3cba922650428a04863083e0c891aeec57746a4.tar.bz2 px4-firmware-c3cba922650428a04863083e0c891aeec57746a4.zip |
Minor change to NFS interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4840 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/fs/nfs.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/nuttx/include/nuttx/fs/nfs.h b/nuttx/include/nuttx/fs/nfs.h index 3ce62dfc1..3dbcc6dc8 100644 --- a/nuttx/include/nuttx/fs/nfs.h +++ b/nuttx/include/nuttx/fs/nfs.h @@ -53,8 +53,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define NFSMNT_NFSV3 0x00000200 /* Use NFS Version 3 protocol */ -#define NFS_ARGSVERSION 3 /* change when nfs_args changes */ +#define NFS_NFSV3 0x00000200 /* Use NFS Version 3 protocol */ #define NFS_PMAPPORT 111 /**************************************************************************** @@ -63,17 +62,16 @@ struct nfs_args { - uint8_t version; /* Args structure version number */ - uint8_t addrlen; /* Length of address */ - uint8_t sotype; /* Socket type */ - int flags; /* Flags */ - int wsize; /* Write size in bytes */ - int rsize; /* Read size in bytes */ - int readdirsize; /* readdir size in bytes */ - int timeo; /* Initial timeout in .1 secs */ - int retrans; /* Times to retry send */ - char *path; /* Server's path of the directory being mount */ - struct sockaddr_storage addr; /* File server address (requires 32-bit alignment) */ + uint8_t addrlen; /* Length of address */ + uint8_t sotype; /* Socket type */ + uint32_t flags; /* Flags */ + int wsize; /* Write size in bytes */ + int rsize; /* Read size in bytes */ + int readdirsize; /* readdir size in bytes */ + int timeo; /* Initial timeout in .1 secs */ + int retrans; /* Times to retry send */ + char *path; /* Server's path of the directory being mount */ + struct sockaddr_storage addr; /* File server address (requires 32-bit alignment) */ }; /**************************************************************************** |