[PATCH 06/12] show nfs_lrf_body_content as an entity
Tigran Mkrtchyan
tigran.mkrtchyan at desy.de
Sat May 24 18:26:36 EDT 2008
---
epan/dissectors/packet-nfs.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 37f9512..af4a9e3 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -410,6 +410,7 @@ static int hf_nfs_notification_bitmap4 = -1;
static int hf_nfs_lrs_present = -1;
static int hf_nfs_nfl_util = -1;
static int hf_nfs_nfl_first_stripe_index = -1;
+static int hf_nfs_lrf_body_content = -1;
/* Hidden field for v2, v3, and v4 status */
int hf_nfs_nfsstat = -1;
@@ -7723,7 +7724,7 @@ dissect_nfs_layoutreturn4(tvbuff_t *tvb, int offset, proto_tree *tree)
offset = dissect_rpc_uint64(tvb, tree, hf_nfs_offset4, offset);
offset = dissect_rpc_uint64(tvb, tree, hf_nfs_length4, offset);
offset = dissect_nfs_stateid4(tvb, offset, tree);
- offset = dissect_nfsdata(tvb, offset, tree, hf_nfs_data);
+ offset = dissect_nfsdata(tvb, offset, tree, hf_nfs_lrf_body_content);
}
return offset;
@@ -10083,6 +10084,10 @@ proto_register_nfs(void)
"return type", "nfs.returntype", FT_UINT32, BASE_DEC,
VALS(layoutreturn_names), 0, NULL, HFILL }},
+ { &hf_nfs_lrf_body_content, {
+ "lrf_body_content", "nfs.lrf_body_content", FT_BYTES, BASE_HEX,
+ NULL, 0, NULL, HFILL }},
+
{ &hf_nfs_iomode4, {
"IO mode", "nfs.iomode", FT_UINT32, BASE_DEC,
VALS(iomode_names), 0, NULL, HFILL }},
--
1.5.5.1.211.g65ea3
--------------010504080207030209060809
Content-Type: text/x-patch;
name="0007-do-not-re-use-v4-createmode.-define-a-v4.1-specific.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0007-do-not-re-use-v4-createmode.-define-a-v4.1-specific.pat";
filename*1="ch"
More information about the pNFS
mailing list