How can I access frame_data from heuristic dissector in lua?

asked 2020-11-05 13:43:26 +0000

VG gravatar image

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!

edit retag flag offensive close merge delete

Comments

You need data from frame_data.h that is not available in the frame fields ?

Chuckc gravatar imageChuckc ( 2020-11-05 15:11:13 +0000 )edit