aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/crc24.h
diff options
context:
space:
mode:
authorJonathan Santos <jrsantos@jonathanrsantos.com>2011-05-25 13:54:02 -0400
committerJonathan Santos <jrsantos@jonathanrsantos.com>2011-05-25 13:54:02 -0400
commit03fd8d014f9871896a86534432c8757d65a576fe (patch)
treebad087cacfb6b106f6ca542bf92ef2e2ecea5dd3 /include/openbsc/crc24.h
parente7dae79f5839029279c9fd4543804882c019bf42 (diff)
Import upstream version 0.9.13upstream/0.9.13
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