libosmocore 1.10.0.64-ff3d
Osmocom core library
|
Osmocom generic CRC routines (for max 16 bits poly) header. More...
Go to the source code of this file.
Data Structures | |
struct | osmo_crc16gen_code |
structure describing a given CRC code of max 16 bits More... | |
Functions | |
uint16_t | osmo_crc16gen_compute_bits (const struct osmo_crc16gen_code *code, const ubit_t *in, int len) |
Compute the CRC value of a given array of hard-bits. More... | |
int | osmo_crc16gen_check_bits (const struct osmo_crc16gen_code *code, const ubit_t *in, int len, const ubit_t *crc_bits) |
Checks the CRC value of a given array of hard-bits. More... | |
void | osmo_crc16gen_set_bits (const struct osmo_crc16gen_code *code, const ubit_t *in, int len, ubit_t *crc_bits) |
Computes and writes the CRC value of a given array of bits. More... | |
Osmocom generic CRC routines (for max 16 bits poly) header.