paul | 34204aa | 2005-11-03 09:00:23 +0000 | [diff] [blame] | 1 | extern int in_cksum(void *, int); |
JR Rivers | d8a4e42 | 2012-09-13 17:17:36 +0000 | [diff] [blame] | 2 | #define FLETCHER_CHECKSUM_VALIDATE 0xffff |
Paul Jakma | 5d4b8cf | 2008-11-16 18:34:19 +0000 | [diff] [blame] | 3 | extern u_int16_t fletcher_checksum(u_char *, const size_t len, const uint16_t offset); |