From af0819f942fc85919fe9e81a9e990b0f9bf50ca2 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 10 Nov 2013 03:20:04 +0000 Subject: Add data parameter to dissect_function_t in vsff structure. The intention here is to use it to replace some pinfo->private_data. I didn't realize how expansive this change would be, so committing it now before replacing the pinfo->private_data, so if something needs to be reverted, all of this is not lost. svn path=/trunk/; revision=53213 --- epan/dissectors/packet-pcnfsd.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'epan/dissectors/packet-pcnfsd.c') diff --git a/epan/dissectors/packet-pcnfsd.c b/epan/dissectors/packet-pcnfsd.c index 66d6bec0b8..e77ad40d26 100644 --- a/epan/dissectors/packet-pcnfsd.c +++ b/epan/dissectors/packet-pcnfsd.c @@ -100,7 +100,7 @@ dissect_pcnfsd_mapreq(tvbuff_t *tvb, int offset, proto_tree *tree) static int dissect_pcnfsd2_dissect_mapreq_arg_item(tvbuff_t *tvb, int offset, - packet_info *pinfo _U_, proto_tree *tree) + packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { offset = dissect_pcnfsd_mapreq(tvb, offset, tree); @@ -113,7 +113,7 @@ dissect_pcnfsd2_dissect_mapreq_arg_item(tvbuff_t *tvb, int offset, static int dissect_pcnfsd2_mapid_call(tvbuff_t *tvb, int offset, packet_info *pinfo, - proto_tree *tree) + proto_tree *tree, void* data _U_) { offset = dissect_rpc_string(tvb, tree, hf_pcnfsd_comment, offset, NULL); @@ -137,7 +137,7 @@ static const value_string names_maprstat[] = static int dissect_pcnfsd2_dissect_mapreq_res_item(tvbuff_t *tvb, int offset, - packet_info *pinfo _U_, proto_tree *tree) + packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { guint32 maprstat; @@ -160,7 +160,7 @@ dissect_pcnfsd2_dissect_mapreq_res_item(tvbuff_t *tvb, int offset, static int dissect_pcnfsd2_mapid_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, - proto_tree *tree) + proto_tree *tree, void* data _U_) { offset = dissect_rpc_string(tvb, tree, hf_pcnfsd_comment, offset, NULL); @@ -189,7 +189,7 @@ pcnfsd_decode_obscure(const char* data, int len) /* "NFS Illustrated" 14.7.13 */ static int dissect_pcnfsd2_auth_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, - proto_tree *tree) + proto_tree *tree, void* data _U_) { int newoffset; const char *ident = NULL; @@ -275,7 +275,7 @@ dissect_pcnfsd2_auth_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, /* "NFS Illustrated" 14.7.13 */ static int dissect_pcnfsd2_auth_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, - proto_tree *tree) + proto_tree *tree, void* data _U_) { int gids_count; proto_item *gitem = NULL; -- cgit v1.2.3