diff options
Diffstat (limited to 'include/openbsc/crc24.h')
-rw-r--r-- | include/openbsc/crc24.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/openbsc/crc24.h b/include/openbsc/crc24.h new file mode 100644 index 000000000..756638c03 --- /dev/null +++ b/include/openbsc/crc24.h @@ -0,0 +1,10 @@ +#ifndef _CRC24_H +#define _CRC24_H + +#include <stdint.h> + +#define INIT_CRC24 0xffffff + +uint32_t crc24_calc(uint32_t fcs, uint8_t *cp, unsigned int len); + +#endif |