I am writing a Lua dissector for a protocol on top of the TCP protocol. It needs to store the acknowledgment number of request packets, in order to determine which is the corresponding response packet. For example I can get the packet number with pinfo.number, is there any similar way I can access the acknowledgement number? |
You can define the desired fields with Field.new() and then use the field definitions in the dissector function.
Regards |
What protocol are you dissecting?
A special protocol on top of the TCP protocol.