diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-09-04 15:13:25 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-09-06 16:47:47 +0200 |
commit | 396f2e69a047f461e2fcabae4c1f9990730289a3 (patch) | |
tree | 88a5843f3dcfb30a010e14289a829adf0e30af8f /include/osmocom/sgsn/crc24.h | |
parent | 2c17747c1b470118195518452860c3a3cae946dd (diff) |
move include/openbsc to include/osmocom/sgsn
Change-Id: I281ef585fffc2644682c8282224fb1c2da5ca795
Diffstat (limited to 'include/osmocom/sgsn/crc24.h')
-rw-r--r-- | include/osmocom/sgsn/crc24.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/crc24.h b/include/osmocom/sgsn/crc24.h new file mode 100644 index 000000000..756638c03 --- /dev/null +++ b/include/osmocom/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, uint8_t *cp, unsigned int len); + +#endif |