lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] PPP: IPCP bad fcs issue


From: Sylvain Rochet
Subject: Re: [lwip-users] PPP: IPCP bad fcs issue
Date: Thu, 16 Aug 2018 00:03:28 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

On Wed, Aug 15, 2018 at 05:46:21PM -0400, Patrick Klos wrote:
> On 8/15/2018 4:19 PM, Sylvain Rochet wrote:
> >But what is very strange is that checksum including checksum itself for
> >comparison purpose for "0x01 0x01 0x16 0x03 0x6 0x81 0x6 0x83 0x06 0x6e
> >0xdb" is 0xeb 0xbe, which is not 0x4114 (nor 0x1441 with byte swap) as
> >displayed in your "Dropping bad fcs" debug print, how is that even
> >possible ?
> 
> For what it's worth, 0x4114 is the complement of the byte swap 0xebbe (and
> that's how the FCS is added to a PPP packet).  I didn't look at the actual
> code to see at what stage and which value the message prints, but it's close
> enough to say it's probably right.

Oh dear, I actually checked that, but looks like I failed somewhere :-) 

Indeed, the PPP_GOODFCS value is the checksum value of the full frame 
including the checksum but without the final XOR.

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]