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

Wireshark-dev: Re: [Wireshark-dev] Handling TCP packets reordering

From: Max Dmitrichenko <dmitrmax@xxxxxxxxx>
Date: Thu, 5 May 2011 01:30:07 +0400
2011/5/5 Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>:

> I would think desegment_tcp() should be able to handle this by not calling
> your dissector for an out-of-order segment: it should be able to only call
> your dissector once it has a completely reassembled (desegmented) PDU.

Did you mean using of tcp_dissect_pdus(....)? As for now I use
pinfo->desegement_len
and pinfo->desegment_offset stuff. But if it is that simple, I surely redo using
this function.

--
Max