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 cmake: make WERROR_COMMON_FLAGS a normal string 2016-09-30 20:08:02 +00:00
COPYING
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
moduleinfo.h Add our license header to plugin moduleinfo.h files. Cleans up a batch of 2013-07-06 13:31:31 +00:00
packet-ams.c Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
packet-ams.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-ecatmb.c Dissectors don't need a journey of self discovery. 2016-12-31 07:31:42 +00:00
packet-ecatmb.h Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
packet-esl.c Manually add protocol dependencies derived from find_dissector. 2016-03-20 12:48:48 +00:00
packet-ethercat-datagram.c ethercat (plugins): fix spelling typo found by lintian 2016-10-27 07:09:35 +00:00
packet-ethercat-datagram.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
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 Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
packet-ioraw.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
packet-ioraw.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
packet-nv.c new_create_dissector_handle -> create_dissector_handle for plugins. 2015-12-11 03:42:52 +00:00
packet-nv.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
plugin.rc.in Fix CMake generation and use of Windows .rc files 2015-01-11 20:22:32 +00:00