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

Ethereal-dev: Re: [Ethereal-dev] Re: pinfo->can_desegment Handling (was [Ethereal-cvs] rev 16

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

From: "Guy Harris" <gharris@xxxxxxxxx>
Date: Tue, 4 Oct 2005 19:45:10 -0700 (PDT)
ronnie sahlberg wrote:
> You should not use these fields directly.
>
> Use tcp_dissect_pdus() and that function will handle everything for you.

...if your protocol consists of a sequence of packets, each of which has a
fixed amount of data in it, present in all packets, from which the total
length of the packet can be determined.

Protocols that don't work like that,  such as HTTP, have to use different
mechanisms.