libosmocore 1.10.0.9-9764
Osmocom core library
|
This was copied from the linux kernel and adjusted for our types. More...
#include <osmocom/core/crc16.h>
Functions | |
uint16_t | osmo_crc16 (uint16_t crc, uint8_t const *buffer, size_t len) |
Compute 16bit CCITT polynome 0x8408 (x^0 + x^5 + x^12) over given buffer. More... | |
uint16_t | osmo_crc16_ccitt (uint16_t crc, uint8_t const *buffer, size_t len) |
Compute 16bit CCITT polynome 0x8408 (x^0 + x^5 + x^12) over given buffer. More... | |
Variables | |
uint16_t const | osmo_crc16_table [256] |
CRC table for the CRC-16. More... | |
uint16_t const | osmo_crc16_ccitt_table [256] |
CRC table for the CCITT CRC-6. More... | |
This was copied from the linux kernel and adjusted for our types.