Thanks for your replies.
I do have Lua support built in. Results of Help --> About Wireshark:
==================================================================
3.2.1 (Git commit bf38a67724d0)
Compiled (64-bit) with Qt 5.9.5, with libpcap, without POSIX capabilities,
without libnl, with GLib 2.56.4, with zlib 1.2.11, without SMI, without c-ares,
with Lua 5.2.4, without GnuTLS, with Gcrypt 1.8.1, without Kerberos, without
MaxMind DB resolver, without nghttp2, without brotli, with LZ4, without
Zstandard, without Snappy, with libxml2 2.9.4, with QtMultimedia, with SpeexDSP
(using bundled resampler), without SBC, without SpanDSP, without bcg729.
Running on Linux 5.3.0-28-generic, with Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
(with SSE4.2), with 7670 MB of physical memory, with locale en_US.UTF-8, with
light display mode, without HiDPI, with libpcap version 1.8.1, with Gcrypt
1.8.1, with zlib 1.2.11, binary plugins supported (15 loaded).
Built using gcc 7.4.0.
==================================================================
@Anders: I do not want to replace the existing gnw Dissector. But I have a fixed length custom header before the GNW dissector and want to call the standard built-in gnw Dissector on the same tree after my custom Dissector is finished parsing (which works correctly at the moment).
Thanks.