Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] wanted to find frame size

From: Hardik Patel <hardik.party@xxxxxxxxx>
Date: Thu, 25 Jul 2013 15:44:30 +0200
Hello,

I have created dissector which is failing if TCP reassemble two packet.

Below is an example :
Inline image 1


In this case TCP have reassembled two frame 708 and 710.
708 have 7 byte of data which is not my packet header. my packet header start from 0 byte of 710
frame so i need to find method due to which i know if frame is of sufficient length or not.

If i can find length then simple i can put offset of 7 byte so i can start with my header and dissect it.


Regards,
Hardik Patel