wireshark/plugins/ethercat
Michael Mann f4b0abc729 Dissectors don't need a journey of self discovery.
They already know who they are when they register themselves.  Saving the
handle then to avoid finding it later.
Not sure if this will increase unnecessary register_dissector functions
(instead of using create_dissector_handle in proto_reg_handoff function)
when other dissectors copy/paste, but it should make startup time
a few microseconds better.

Change-Id: I3839be791b32b84887ac51a6a65fb5733e9f1f43
Reviewed-on: https://code.wireshark.org/review/19481
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-12-31 07:31:42 +00:00
..
AUTHORS
CMakeLists.txt
COPYING
Makefile.am
moduleinfo.h
packet-ams.c Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
packet-ams.h
packet-ecatmb.c Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
packet-ecatmb.h
packet-esl.c
packet-ethercat-datagram.c ethercat (plugins): fix spelling typo found by lintian 2016-10-27 07:09:35 +00:00
packet-ethercat-datagram.h
packet-ethercat-frame.c Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
packet-ethercat-frame.h
packet-ioraw.c
packet-ioraw.h
packet-nv.c
packet-nv.h
plugin.rc.in