diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-09-04 15:15:32 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-09-06 16:26:13 +0200 |
commit | c01647914b97ab8a1079330e36d0e1d024d3a804 (patch) | |
tree | dc22a90b524e2a5517805a8757016997db9eb12d /include/osmocom/bsc/crc24.h | |
parent | 538635ad5d5564087d285eda042b0cad9610c70e (diff) |
move include/openbsc to include/osmocom/bsc
Change-Id: I39e7b882caa98334636d19ccd104fd83d07d5055
Diffstat (limited to 'include/osmocom/bsc/crc24.h')
-rw-r--r-- | include/osmocom/bsc/crc24.h | 10 |
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 |