I'm writing a Lua Script for Wireshark to dissect a private protocol. I'm currently looking for a function which can provide the message number of the answer to the current message.
My protocol is sending requests with a Sequence Number and the answer is containing the same Sequence Number.
Typically I would like to have a function which could return the Message Number of the answer and would return a null value if there is no answer. Something like:
AnswerMessageNumber = Get.MessageNumberWhere(MyProto.AnswerSequenceNumber = MyProto.RequestSequenceNumber)
Thanks for your help!