Quantcast
Channel: Ask Wireshark - RSS feed
Viewing all articles
Browse latest Browse all 6

Comment by grahamb for This might be a limitation in Lua.In C, you can use the data parameter of a dissector, to pass a pointer to your own data structure. Obviously both caller and calle must know how the data is structured as it's passed as a void*, but I don't see that parameter in the Lua API.

$
0
0
Ideally the Lua API would be updated to match the C one, patches gratefully accepted. I'm not aware of anything else that can be done, but that doesn't mean there isn't a solution, I'm a Lua novice.

Viewing all articles
Browse latest Browse all 6

Trending Articles