Looking for the wtap enums
As the subject says, I'm looking for the wtap_encaps
and wtap_file_tsprec
tables (i.e. enumerated values) referred to in the Developer's Guide, Chapter 11.11. For examples:
11.11.1.2. captureinfo.encap
Mode: Retrieve or assign. The packet encapsulation type for the whole file. See wtap_encaps for available types. Set to wtap_encaps.PER_PACKET if packets can have different types, then later set FrameInfo.encap for each packet during read()/seek_read().
and
11.11.1.3. captureinfo.time_precision
Mode: Retrieve or assign. The precision of the packet timestamps in the file. See wtap_file_tsprec for available precisions.
I have done a simple grep of the Wireshark repo's contents with no joy, which leads me to believe the Lua tables are being generated from C code at build time. However I can't find them in the install directory either, only the Lua API's .so files.