aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-stat.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-10 03:20:04 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-10 03:20:04 +0000
commitaf0819f942fc85919fe9e81a9e990b0f9bf50ca2 (patch)
treec9f62d5848425f56a87583227b0672dbf1787c83 /epan/dissectors/packet-stat.c
parent2965a6bf250609ee3536ebf9fbc44864b55f6931 (diff)
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
Diffstat (limited to 'epan/dissectors/packet-stat.c')
-rw-r--r--epan/dissectors/packet-stat.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-stat.c b/epan/dissectors/packet-stat.c
index 72c2644938..771f59274a 100644
--- a/epan/dissectors/packet-stat.c
+++ b/epan/dissectors/packet-stat.c
@@ -164,7 +164,7 @@ mon_id_len(tvbuff_t *tvb, int offset)
}
static int
-dissect_stat_stat(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
+dissect_stat_stat(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
if (tree)
{
@@ -175,7 +175,7 @@ dissect_stat_stat(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree
}
static int
-dissect_stat_stat_res(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
+dissect_stat_stat_res(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
proto_item* sub_item = NULL;
proto_tree* sub_tree = NULL;
@@ -222,7 +222,7 @@ dissect_stat_my_id(tvbuff_t *tvb, int offset, proto_tree *tree)
}
static int
-dissect_stat_mon_id(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
+dissect_stat_mon_id(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
proto_item* sub_item = NULL;
proto_tree* sub_tree = NULL;
@@ -252,17 +252,17 @@ dissect_stat_priv(tvbuff_t *tvb, int offset, proto_tree *tree)
}
static int
-dissect_stat_mon(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
+dissect_stat_mon(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
- offset = dissect_stat_mon_id(tvb,offset,pinfo,tree);
+ offset = dissect_stat_mon_id(tvb,offset,pinfo,tree,data);
offset = dissect_stat_priv(tvb,offset,tree);
return offset;
}
static int
-dissect_stat_state(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
+dissect_stat_state(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
offset = dissect_rpc_uint32(tvb,tree,hfi_stat_state.id,offset);
@@ -270,7 +270,7 @@ dissect_stat_state(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree
}
static int
-dissect_stat_notify(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
+dissect_stat_notify(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
proto_item* sub_item = NULL;
proto_tree* sub_tree = NULL;
@@ -294,7 +294,7 @@ dissect_stat_notify(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tre
}
static int
-dissect_stat_umon_all(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree)
+dissect_stat_umon_all(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
offset = dissect_stat_my_id(tvb,offset,tree);