The 8-bit checksum used is the DOW checksum.
Formula: X8 + X5 + x4 + 1 Polynomial: 0x18 Initial Reminder: 0x00
The 16-bit checksum used is the CCITT checksum.
Formula: X16 + X12 + x5 + 1 Polynomial: 0x1021 Initial Reminder: 0xFFFF
This checksum is used for VSCP Level II datagrams.
The 32-bit checksum used is the Ethernet checksum.
Formula: X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X1 + 1 Polynomial: 0x04c11db7 Initial Reminder: 0xffffffff Note that result is inverted.
http://www.netrino.com/Connecting/2000-01/ is a good pointer for code. Free code is alos available in the CANAL/VSCP distribution.
Discussion