diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-12 23:38:21 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-13 14:34:13 +0000 |
commit | 56aa05227f6bc18211d9ddec669af77ba5cd78e9 (patch) | |
tree | fa21cc83f52889681b3461e1f511521a6d43275d /epan/dissectors/packet-ethertype.c | |
parent | 23379ae3624df82c170f48e5bb3250a97ec61c13 (diff) |
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 <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-ethertype.c')
-rw-r--r-- | epan/dissectors/packet-ethertype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ethertype.c b/epan/dissectors/packet-ethertype.c index 1d9d9cc6a5..97256e00fe 100644 --- a/epan/dissectors/packet-ethertype.c +++ b/epan/dissectors/packet-ethertype.c @@ -233,10 +233,10 @@ capture_ethertype(guint16 etype, const guchar *pd, int offset, int len, capture_vines(ld); break; case ETHERTYPE_BPQ: - capture_bpq(pd, offset, len, ld); + capture_bpq(pd, offset, len, ld, NULL); break; case ETHERTYPE_JUMBO_LLC: - capture_llc(pd, offset, len, ld); + capture_llc(pd, offset, len, ld, NULL); break; default: ld->other++; |