1 | initial version |
The wireshark dissector runs every time the packet need to be dissected (so every time you click the packet). Use pinfo.visted to check if the packet was visited or manage your memory and variable with your own system (depends on what you are trying to do, you can create a hash table using pinfo.number as the keys for example).