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

Ethereal-dev: Re: Re: [Ethereal-dev] Desegmentation atop TCP problem / TCP reassembly and dese

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Thu, 2 Sep 2004 17:10:11 +1000
On Wed, 01 Sep 2004 16:24:38 +0200, Peter Johansson  wrote:
> Is the tcp_dissect_pdu() functionality still dependent on the above layered 
> protocols ability to set pinfo->can_desegment to non-0 (I would guess so but 
> want's to be sure)?


tcp_dissect_pdus() will completely hide these variables from you so
that you dont even need to know they exist.

However, this feature requires that the protocol has some sort of
header where one can calculate the full pdu size from. This might make
it impossible four you and jeff to use, depending on what your
protocol looks like.
And then you might need to manage these variables manually as you are
already doing.


tcp_dissect_pdus() will however work well for the vast majority of
protocols sitting atop tcp.   Your protocols are possibly exceptions
to this rule.