Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

exact crc calculation

Status
Not open for further replies.

47x65x72x68x61x72x64

Technical User
Jan 26, 2006
1
DE
hi

can someone tell me, how to calculate the crc32-code in the FCS-field of a ethernet frame?
i know the crc-32 polynom.
questions:
- is the correct init. FF FF FF FF?
- is it necessary/correct to invert the first 32 bit of the frame - calculate the crc32 and invert the result?
- what happens when at the very end of the frame only 1, 2 or 3 bytes existing for calculating crc? at which position are these bytes written and how is the rest (up to 32 bit) filled?

tnx
gerhard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top