diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-14 19:25:31 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-17 04:01:56 +0000 |
commit | f342fdcdb83d960bd59ab7e42237c18f9282adcc (patch) | |
tree | 81c59810cd548e154d3c1fd95998b3ed0148db4e /epan/dissectors/packet-atm.c | |
parent | 8cb03d57a600bc092fd5670f37fb990784fffd96 (diff) |
Create capture dissector "info" structure (capture_packet_info_t)
While it currently only contains packet_counts, it will hopefully stabilize the capture function signature if more fields are added.
Change-Id: I003552c58043c7c2d67aec458187b12b233057e2
Reviewed-on: https://code.wireshark.org/review/12690
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-atm.c')
-rw-r--r-- | epan/dissectors/packet-atm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-atm.c b/epan/dissectors/packet-atm.c index acddf5bde2..6888997681 100644 --- a/epan/dissectors/packet-atm.c +++ b/epan/dissectors/packet-atm.c @@ -665,10 +665,10 @@ dissect_le_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) static gboolean capture_lane(const guchar *pd, int offset _U_, - int len, packet_counts *ld, const union wtap_pseudo_header *pseudo_header) + int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header) { /* Is it LE Control, 802.3, 802.5, or "none of the above"? */ - return try_capture_dissector("atm_lane", pseudo_header->atm.subtype, pd, 2, len, ld, pseudo_header); + return try_capture_dissector("atm_lane", pseudo_header->atm.subtype, pd, 2, len, cpinfo, pseudo_header); } static int @@ -790,10 +790,10 @@ static const value_string ipsilon_type_vals[] = { static gboolean capture_atm(const guchar *pd, int offset _U_, - int len, packet_counts *ld, const union wtap_pseudo_header *pseudo_header) + int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header) { if (pseudo_header->atm.aal == AAL_5) { - return try_capture_dissector("atm.aal5.type", pseudo_header->atm.type, pd, offset, len, ld, pseudo_header); + return try_capture_dissector("atm.aal5.type", pseudo_header->atm.type, pd, offset, len, cpinfo, pseudo_header); } return FALSE; } |