aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/crc24.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openbsc/crc24.h')
-rw-r--r--include/openbsc/crc24.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openbsc/crc24.h b/include/openbsc/crc24.h
new file mode 100644
index 00000000..358fcb58
--- /dev/null
+++ b/include/openbsc/crc24.h
@@ -0,0 +1,8 @@
+#ifndef _CRC24_H
+#define _CRC24_H
+
+#define INIT_CRC24 0xffffff
+
+u_int32_t crc24_calc(u_int32_t fcs, u_int8_t *cp, unsigned int len);
+
+#endif