[comp.protocols.tcp-ip] Generation of CRC as part of Frame Check Sequence Field.

mahesh@pyrhard2.pyramid.com (Mahesh Jethanandani) (04/17/91)

We are bringing up a Ethernet board for our machines, using the LANCE chip.
I have to be able to test the CRC logic on the board, by comparing the 
CRC that I generate in software with what the hardware generates and appends
to each packet. I have the 802.3 specs and I can see the polynomial 
equation used to generate the CRC.

What I need is a C program, that I can use to generate CRC for a 32 byte
data packet. Has anyone out there written a program to do this.

Thanks in advance.

mahesh