aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nfs.h
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-12 19:53:53 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-12 19:53:53 +0000
commit37859b111eb029ce0f6d16be84e6ae9a1e88e117 (patch)
tree25ec0115ed32b1230d9c0a7dc67c955a3f359cf1 /epan/dissectors/packet-nfs.h
parent36df3b4b604d9d77932d6f06c1f67d28e9f34fb1 (diff)
From J. Bruce Fields (bug 2634):
The attached patches bring the wireshark code up to date with the latest NFSv4.1 protocol drafts (in ietf last call now, so hopefully not too much more of this will be required). They also cover more of the protocol, and do some minor cleanup (e.g. remove some operations which were really only used by one prototype implementation, and never part of the protocol.) A few ops and attributes are still missing. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25727 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nfs.h')
-rw-r--r--epan/dissectors/packet-nfs.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/epan/dissectors/packet-nfs.h b/epan/dissectors/packet-nfs.h
index b569341679..55c9cfff79 100644
--- a/epan/dissectors/packet-nfs.h
+++ b/epan/dissectors/packet-nfs.h
@@ -105,19 +105,25 @@
#define NFS4_OP_WRITE 38
#define NFS4_OP_RELEASE_LOCKOWNER 39
/* Minor version 1 */
+#define NFS4_OP_BACKCHANNEL_CTL 40
+#define NFS4_OP_BIND_CONN_TO_SESSION 41
#define NFS4_OP_EXCHANGE_ID 42
#define NFS4_OP_CREATE_SESSION 43
#define NFS4_OP_DESTROY_SESSION 44
+#define NFS4_OP_FREE_STATEID 45
+#define NFS4_OP_GET_DIR_DELEGATION 46
#define NFS4_OP_GETDEVINFO 47
#define NFS4_OP_GETDEVLIST 48
#define NFS4_OP_LAYOUTCOMMIT 49
#define NFS4_OP_LAYOUTGET 50
#define NFS4_OP_LAYOUTRETURN 51
+#define NFS4_OP_SECINFO_NO_NAME 52
#define NFS4_OP_SEQUENCE 53
-#define NFS4_OP_NOTIFYDS 60
-#define NFS4_OP_PNFS_CREATE 61
-#define NFS4_OP_PNFS_WRITE 62
-#define NFS4_OP_PNFS_READ 63
+#define NFS4_OP_SET_SSV 54
+#define NFS4_OP_TEST_STATEID 55
+#define NFS4_OP_WANT_DELEGATION 56
+#define NFS4_OP_DESTROY_CLIENTID 57
+#define NFS4_OP_RECLAIM_COMPLETE 58
#define NFS4_OP_ILLEGAL 10044
@@ -131,6 +137,17 @@
#define GUARDED 1
#define EXCLUSIVE 2
+/* for create4 */
+#define UNCHECKED4 0
+#define GUARDED4 1
+#define EXCLUSIVE4 2
+#define EXCLUSIVE4_1 3
+
+/* pNFS layout types */
+#define LAYOUT4_NFSV4_1_FILES 1
+#define LAYOUT4_OSD2_OBJECTS 2
+#define LAYOUT4_BLOCK_VOLUME 3
+
extern gboolean nfs_file_name_snooping;
extern int dissect_fhandle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree,