How to store information in previous packet to decode next packet in lua script
When to decode a few field in the present packet, there need to use a few field information in previous packets, so how to implement in lua decode script.
For example:
when to decode previous A packet , we need to store ID_a and String_a mapping when to decode previous B packet, we need to store ID_b and ID_a mapping
then finally when to decode present packet, we use ID_b inside present packet to find the string_a, we can finally use string_a to decode field information.
Thanks.