From d835b271679c5e5eae7146b96ae1a65cbd5c16b4 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Mon, 14 Dec 2015 08:48:59 -0500 Subject: Create some more capture dissector tables. These were created from capture dissector functions that had switch statements determine "next" protocol/dissector. The registration decreases the need for function declarations in header files. Added new capture dissection tables for IP, IPv6, TCP and UDP as that seems like the next logical place to expand Change-Id: I1ec0cd54eecda4f400669ee5b026bf6e2b46545a Reviewed-on: https://code.wireshark.org/review/12634 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-llc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/dissectors/packet-llc.c') diff --git a/epan/dissectors/packet-llc.c b/epan/dissectors/packet-llc.c index 0c226894bc..9f4d0e47ec 100644 --- a/epan/dissectors/packet-llc.c +++ b/epan/dissectors/packet-llc.c @@ -928,6 +928,8 @@ proto_reg_handoff_llc(void) dissector_add_uint("juniper.proto", JUNIPER_PROTO_LLC_SNAP, llc_handle); register_capture_dissector("ethertype", ETHERTYPE_JUMBO_LLC, capture_llc, proto_llc); + register_capture_dissector("atm.aal5.type", TRAF_LLCMX, capture_llc, proto_llc); + register_capture_dissector("sll.ltype", LINUX_SLL_P_802_2, capture_llc, proto_llc); /* * Register all the fields for PIDs for various OUIs. -- cgit v1.2.3