]> git.proxmox.com Git - mirror_frr.git/blob - lib/checksum.h
Merge pull request #5163 from ton31337/fix/do_not_reconnect_if_prefix_overflow_7.1
[mirror_frr.git] / lib / checksum.h
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4
5 extern int in_cksum(void *, int);
6 #define FLETCHER_CHECKSUM_VALIDATE 0xffff
7 extern uint16_t fletcher_checksum(uint8_t *, const size_t len,
8 const uint16_t offset);
9
10 #ifdef __cplusplus
11 }
12 #endif