summaryrefslogtreecommitdiffstats
path: root/lib/checksum.h
blob: b310f744c950ead3396a7fea85465dd3646cf6eb (plain)
1
2
3
extern int in_cksum(void *, int);
#define FLETCHER_CHECKSUM_VALIDATE 0xffff
extern u_int16_t fletcher_checksum(u_char *, const size_t len, const uint16_t offset);