[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] CRC in PPP
From: |
Adam Dunkels |
Subject: |
[lwip-users] Re: [lwip] CRC in PPP |
Date: |
Wed, 08 Jan 2003 23:09:07 -0000 |
On Friday 22 March 2002 12.29, you wrote:
> Just wanted to know which CRC is used in PPP....... We have 16 bit CRC in
> PPP field, so it should be 16 bit CRC...... Is it so? and please do let me
> know how to compute that...... because the long division method which I
> know is not giving me right results.
I think it is standard CRC-16 which I think is calculated as x^16+x^15+x^2+1,
but I'm not sure. There are numerous table-based CRC implementations out
there, and they should be easy to find with google.
Are you writing a PPP layer for lwIP?
/adam
--
Adam Dunkels <address@hidden>
http://www.sics.se/~adam
[This message was sent through the lwip discussion list.]