Ask Your Question

Revision history [back]

How can I access frame_data from heuristic dissector in lua?

I am writing a lua dissector for a Kunbus TAP2100 (discontinued). We got plenty of those taps. I can dissect all data from the TAP already, but the original C code did some tricks to correct the frame timestamps (the TAP got its own free running ns-counter, much more précises than Windows counters).

To do so it access frame_data ("fd" in packet_info). I can't access "fd" in Lua, so is there another way to get hold of frame_data? or a better way to sync Wireshark clock with an external clock source - all that using LUA?

Pretty new here. The one thing I do not want to do is build my custom DLLs, so LUA or die!