]>
Commit | Line | Data |
---|---|---|
5e244469 RW |
1 | #ifdef __cplusplus |
2 | extern "C" { | |
3 | #endif | |
4 | ||
34204aac | 5 | extern int in_cksum(void *, int); |
d8a4e42b | 6 | #define FLETCHER_CHECKSUM_VALIDATE 0xffff |
d7c0a89a QY |
7 | extern uint16_t fletcher_checksum(uint8_t *, const size_t len, |
8 | const uint16_t offset); | |
5e244469 RW |
9 | |
10 | #ifdef __cplusplus | |
11 | } | |
12 | #endif |