diff options
Diffstat (limited to 'tests/sgsn/crc24.h')
-rw-r--r-- | tests/sgsn/crc24.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sgsn/crc24.h b/tests/sgsn/crc24.h new file mode 100644 index 000000000..c913eaf76 --- /dev/null +++ b/tests/sgsn/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, const uint8_t *cp, unsigned int len); + +#endif |