How do I add Bitmasking for Bitfield function to wireshark for Lua.

asked 2022-03-25 11:01:45 +0000

magnusshock gravatar image

I am trying to break out individual bits in a packet in order to display the flags. Most places I look seem to be using bitfield in Lua, but I am unable to get the function to be recognized as a passable operation when I try to run my dissector.

I am currently using Wireshark Ver 3.6.2 and it has Lua 5.2.4 loaded with it.

edit retag flag offensive close merge delete


Can you share a sample of the code that's not working and any error/warning messages?

Chuckc gravatar imageChuckc ( 2022-03-25 13:43:22 +0000 )edit