Ethereal

Re: Re: [Ethereal-dev] Desegmentation atop TCP problem / TCP reassembly and desegment_offset = 0
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: September 2004


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.


Powered by MHonArc 2.6.10