From 56aa05227f6bc18211d9ddec669af77ba5cd78e9 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sat, 12 Dec 2015 23:38:21 -0500 Subject: Create a way to register "capture" dissectors. Capture dissectors could be architected like dissection dissectors, with tables and subtables and possibly using tvbs to pass there data instead of raw byte arrays. This is a first step towards that by refactoring capture_info_packet() to work off of a "capture dissector table" Registering the capture dissection functions instead of calling them directly also clears up a bunch of dissector header files who sole purpose was providing the capture dissection function definition. Change-Id: I10e9b79e061f32d2572f009823601d4f048d37aa Reviewed-on: https://code.wireshark.org/review/12581 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-isl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-isl.h') diff --git a/epan/dissectors/packet-isl.h b/epan/dissectors/packet-isl.h index b406408b63..1f08570089 100644 --- a/epan/dissectors/packet-isl.h +++ b/epan/dissectors/packet-isl.h @@ -22,7 +22,7 @@ #ifndef __PACKET_ISL_H__ #define __PACKET_ISL_H__ -void capture_isl(const guchar *, int, int, packet_counts *); +void capture_isl(const guchar *, int, int, packet_counts *, const union wtap_pseudo_header *pseudo_header); void dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int fcs_len); -- cgit v1.2.3