wireshark/epan/wslua
Guy Harris 1f5f63f8ef Generalize wtap_pkthdr into a structure for packet and non-packet records.
Separate the stuff that any record could have from the stuff that only
particular record types have; put the latter into a union, and put all
that into a wtap_rec structure.

Add some record-type checks as necessary.

Change-Id: Id6b3486858f826fce4b096c59231f463e44bfaa2
Reviewed-on: https://code.wireshark.org/review/25696
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-02-09 00:29:51 +00:00
..
.editorconfig
CMakeLists.txt CMake: Allow user build flags to override default build flags 2017-10-13 21:32:18 +00:00
Makefile.am autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
console.lua
dtd_gen.lua
init_wslua.c replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
init_wslua.h replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
lrexlib.c
lrexlib.h
lrexlib_algo.h wslua: Avoid possible misuse of comma operator warning 2017-09-15 20:21:01 +00:00
lrexlib_glib.c Remove superfluous null-checks before strdup/free 2017-10-15 12:38:51 +00:00
lrexlib_glib_f.c
lua_bitop.c wslua: Disable -Wunreachable-code in lua_bitop.c 2017-09-15 20:46:46 +00:00
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 Lua: Add "tonumber" method to NSTime 2017-06-21 23:50:27 +00:00
taps Have a single IPv6 tap 2017-09-02 16:06:42 +00:00
template-init.lua Lua: Merge sep and str tables into base 2017-03-15 17:32:30 +00:00
wslua.h Generalize wtap_pkthdr into a structure for packet and non-packet records. 2018-02-09 00:29:51 +00:00
wslua_address.c Add a ws_in6_addr typedef for struct e_in6_addr. 2017-10-26 08:50:34 +00:00
wslua_byte_array.c wslua: fix errors in documentation, add notational conventions 2016-10-18 04:09:14 +00:00
wslua_capture_info.c Generalize wtap_pkthdr into a structure for packet and non-packet records. 2018-02-09 00:29:51 +00:00
wslua_column.c wslua: Drop unused "push_code" macro parameter 2016-06-14 18:32:51 +00:00
wslua_dir.c wslua: Fix crash in Dir.open() 2017-12-16 04:03:41 +00:00
wslua_dissector.c Lua: fix crash on invalid Dissector.list("food") invocation 2017-08-27 13:45:09 +00:00
wslua_dumper.c Generalize wtap_pkthdr into a structure for packet and non-packet records. 2018-02-09 00:29:51 +00:00
wslua_field.c Lua: fix crash on invalid Dissector.list("food") invocation 2017-08-27 13:45:09 +00:00
wslua_file.c potential buffer underflow in File_read_line function in epan/wslua/wslua_file.c 2017-12-26 20:21:04 +00:00
wslua_file_common.c wslua: Fix memory leakages 2017-12-16 03:12:00 +00:00
wslua_file_common.h Generalize wtap_pkthdr into a structure for packet and non-packet records. 2018-02-09 00:29:51 +00:00
wslua_file_handler.c Generalize wtap_pkthdr into a structure for packet and non-packet records. 2018-02-09 00:29:51 +00:00
wslua_frame_info.c Generalize wtap_pkthdr into a structure for packet and non-packet records. 2018-02-09 00:29:51 +00:00
wslua_gui.c wslua: Fix memory leakages 2017-12-16 03:12:00 +00:00
wslua_int64.c wslua: Drop unused "push_code" macro parameter 2016-06-14 18:32:51 +00:00
wslua_internals.c wslua: Avoid possible misuse of comma operator warning 2017-09-15 20:21:01 +00:00
wslua_listener.c wslua: Fix memory leakages 2017-12-16 03:12:00 +00:00
wslua_nstime.c Lua: Add "tonumber" method to NSTime 2017-06-21 23:50:27 +00:00
wslua_pinfo.c Remove circuit API 2017-11-13 05:21:36 +00:00
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 epan: Make expert info summary text mandatory 2017-12-14 06:06:47 +00:00
wslua_proto_expert.c epan: Make expert info summary text mandatory 2017-12-14 06:06:47 +00:00
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 Clean up addition of FT_IPv{4,6} fields. 2018-02-03 21:16:08 +00:00
wslua_tvb.c wslua: fix nstime memory leak after passing unknown encoding to TvbRange_nstime() 2018-01-24 08:34:32 +00:00
wslua_util.c wslua: Fix logger after g6a5e90f2 2017-12-19 12:18:20 +00:00