Ethereal-dev: Re: [Ethereal-dev] TCP stream over multiple packets dissector

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: Fri, 26 Nov 2004 23:22:00 +1100
You should not access the field can_desegment directly.
Use the helper function Guy described earlier.



On Fri, 26 Nov 2004 17:38:11 +0530, alok <alokdube@xxxxxxxxxx> wrote:
> woha sorry folks,
> 
> >     2) if you're capturing on an interface that does TCP checksum
> > offloading, captured packets that were transmitted by the host running
> > Ethereal will probably *not* have valid TCP checksums - by default,
> > reassembly is *NOT* done on packets with invalid TCP checksums, so
> > you'd have to turn off the "Check the validity of the TCP checksum
> > when possible" preference for TCP, so that Ethereal doesn't check the
> > validity of the TCP checksums.
> >
> stupid error!
> 
> I did not turn on the "allow subdissector to dissect" flag! (should have
> checked the exact value of pinfo->can_desegment)
> 
> thanks and sorry!
> 
> -Alok
> 
> 
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>