Ethereal-dev: RE: [Ethereal-dev] [patch] packet-tcp.c and sequence wrap.
There's a full explanation of the (y-x)<0 pattern at
http://www.forth.com/Content/Handbook/FPH22.html section 2.2.2
--
Richard Urwin, Private
"No 9000 series computer has ever made a mitsake or corrubiteddatatato."
-----Original Message-----
From: Joerg Mayer [mailto:jmayer@xxxxxxxxx]
Sent: 18 September 2002 13:44
To: didier
Cc: ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] [patch] packet-tcp.c and sequence wrap.
On Wed, Sep 18, 2002 at 11:26:55AM +0000, didier wrote:
> The code in CVS doesn't work.
>
> It's a copy and paste from the linux kernel. (I can mail a capture with
> a sequence wrap).
> -#define GT_SEQ(x, y) ((x > y) || ((y - x) > 0x80000000))
> +#define GT_SEQ(x, y) ((gint32)(y - x) < 0)
As that code was written by me, I'd like to see the thinko - so yes, I'd
be happy if you could send me a capture.
Ciao
Jörg
--
Joerg Mayer <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed
Scanning Service - powered by MessageLabs. For further information visit
http://www.worldcom.com
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________