Discussion:
FCS calculation
(too old to reply)
somu mrudula
2009-07-13 07:58:21 UTC
Permalink
Sir ,
I am working on a project where i need to send and receive PPP
packets . I am stuck with the calculation of FCS . Can you send me a C
code which can be used for FCS calculation of a PPP packet .FCS is 2
bytes in length.
Patrick Klos
2009-07-16 19:54:05 UTC
Permalink
Post by somu mrudula
Sir ,
I am working on a project where i need to send and receive PPP
packets . I am stuck with the calculation of FCS . Can you send me a C
code which can be used for FCS calculation of a PPP packet .FCS is 2
bytes in length.
Use the code from RFC1549 (PPP in HDLC framing):

http://www.networksorcery.com/enp/rfc/rfc1549.txt

It's very straightforward.

Patrick

=========== For PPP Protocol Analysis, check out PacketView Pro! ===========
Patrick Klos Email: ***@klos.com
Klos Technologies, Inc. Web: http://www.klos.com/
============================================================================
Loading...