Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FCS calculation

223 views
Skip to first unread message

somu mrudula

unread,
Jul 13, 2009, 3:58:21 AM7/13/09
to
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

unread,
Jul 16, 2009, 3:54:05 PM7/16/09
to
In article <f0380a2b-87b3-43d3...@x6g2000prc.googlegroups.com>,

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: pat...@klos.com
Klos Technologies, Inc. Web: http://www.klos.com/
============================================================================

0 new messages