and one more question, how to access the data beyon tvb. Such as I add a dissector in udp port 2222, but I need to access the data in network layer in the dissector, how to do this in Lua, or I have to use c to do this? Best regards |
If you are interested in things like the destination address, have a look at fields like To access individual fields, first specify the individual packet somewhere in your packet and retrieve it like this:
For the available properties of the FieldInfo class instance, see the FieldInfo reference. You are likely interested in the In other cases, you can just access the contents of the |