Xref: utzoo comp.protocols.tcp-ip:7655 comp.protocols.misc:616 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!think!cayman!brad From: brad@cayman.COM (Brad Parker) Newsgroups: comp.protocols.tcp-ip,comp.protocols.misc Subject: CRC calc for Ethernet; How? Keywords: CRC Ethernet Message-ID: <3371@cayman.COM> Date: 12 Jul 89 03:05:45 GMT Followup-To: poster Organization: Cayman Systems Inc., Cambridge Ma Lines: 18 I need a simple way to calculate the CRC used in Ethernet packets. This is (from what I can see) using the "AUTODON II" polynomial. I found some nice pictures in the Ethernet spec blue book, but they assume a bit stream (and seem easy to implement if you are doing VLSI, but not C code!) Anyone have a hints for a some way to do this in C? I do not need speed, just a correct algorithm. I assume there are some tricks which can be exploited for 8 or 16 (or even 32) bit computation machines. thanks -brad -- Brad Parker Cayman Systems, Inc. Cambridge, Ma. brad@cayman.com