aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/crc24.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-14 15:45:01 +0800
committerHarald Welte <laforge@gnumonks.org>2010-05-04 07:20:41 +0200
commit9b455bf801411d0d3297febab68011e8ab6c13d9 (patch)
tree6f14b5eadc7db4f1b3c979808c2c0d6a4ae66f95 /openbsc/include/openbsc/crc24.h
parent3c69a4cdbeed5cd877d3e688c0066acfa2b7b180 (diff)
Create new 'gprs-sgsn' branch on top of 'gprs-conf'
This branch contains the partial SGSN/GGSN implementation that was originally developed as part of the gprs branch.
Diffstat (limited to 'openbsc/include/openbsc/crc24.h')
-rw-r--r--openbsc/include/openbsc/crc24.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/crc24.h b/openbsc/include/openbsc/crc24.h
new file mode 100644
index 000000000..358fcb58f
--- /dev/null
+++ b/openbsc/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