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 asked 09 Oct '16, 04:00 cmqy |
One Answer:
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 answered 16 Oct '16, 13:50 Lekensteyn |