wireshark/epan/wslua
Rado Radoulov ae8b18d618 New Lua function TreeItem:referenced(ProtoField | Dissector).
This function returns TRUE/FALSE depending whether the specified ProtoField/Dissector
needs to be dissected. By using this function in conjunction with the TreeItem.visible
attribute, Lua dissectors can be significantly sped up by making less C interop calls
which are relatively slow in terms of dissection especially when using sub-protocols
where the dissection of an entire protocol can be skipped.

Added tests for TreeItem:referenced to protofield.lua

Change-Id: I44feacb91a2a5b0e3c28c0ccd8d6b04cccd67261
Reviewed-on: https://code.wireshark.org/review/21387
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-05-05 08:38:40 +00:00
..
.editorconfig
CMakeLists.txt
console.lua
dtd_gen.lua
init_wslua.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00
init_wslua.h
lrexlib.c
lrexlib.h
lrexlib_algo.h
lrexlib_glib.c
lrexlib_glib_f.c
lua_bitop.c
lua_bitop.h
make-init-lua.pl Lua: Add absolute time base values 2017-03-15 18:44:44 +00:00
make-reg.pl
make-taps.pl
Makefile.am
taps
template-init.lua Lua: Merge sep and str tables into base 2017-03-15 17:32:30 +00:00
wslua.h Clean up handling of enabled/disabled protocols/heuristic dissectors. 2017-04-08 20:40:08 +00:00
wslua_address.c
wslua_byte_array.c
wslua_capture_info.c Eliminate an unneded member of a wtap_dumper. 2017-04-18 00:18:34 +00:00
wslua_column.c
wslua_dir.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00
wslua_dissector.c Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
wslua_dumper.c
wslua_field.c
wslua_file.c
wslua_file_common.c
wslua_file_common.h
wslua_file_handler.c lua: improve FileHandler:[seek_]read behavior and documentation 2017-03-07 05:38:54 +00:00
wslua_frame_info.c
wslua_gui.c
wslua_int64.c
wslua_internals.c
wslua_listener.c
wslua_nstime.c
wslua_pinfo.c
wslua_pinfo_common.h
wslua_pref.c Convert range API to always use wmem memory. 2017-01-07 00:44:10 +00:00
wslua_proto.c Add an API to let a postdissector specify fields whose values it needs. 2017-04-12 04:31:19 +00:00
wslua_proto_expert.c
wslua_proto_field.c Lua: Add absolute time base values 2017-03-15 18:44:44 +00:00
wslua_struct.c wslua: fix documentation of Struct.fromhex 2017-02-27 12:48:47 +00:00
wslua_tree.c New Lua function TreeItem:referenced(ProtoField | Dissector). 2017-05-05 08:38:40 +00:00
wslua_tvb.c Rename tvb_new_subset() to tvb_new_subset_length_caplen(). 2017-01-10 06:19:37 +00:00
wslua_util.c cmake,wslua,wsutil: load files from run/ instead of source tree 2016-12-20 13:16:57 +00:00