brad@cayman.COM (Brad Parker) (07/12/89)
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