aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/crc24.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-04 15:15:32 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-06 16:26:13 +0200
commitc01647914b97ab8a1079330e36d0e1d024d3a804 (patch)
treedc22a90b524e2a5517805a8757016997db9eb12d /include/osmocom/bsc/crc24.h
parent538635ad5d5564087d285eda042b0cad9610c70e (diff)
move include/openbsc to include/osmocom/bsc
Diffstat (limited to 'include/osmocom/bsc/crc24.h')
-rw-r--r--include/osmocom/bsc/crc24.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/osmocom/bsc/crc24.h b/include/osmocom/bsc/crc24.h
new file mode 100644
index 000000000..756638c03
--- /dev/null
+++ b/include/osmocom/bsc/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