libosmocore 1.9.0.196-9975
Osmocom core library
osmo_crc32gen_code Struct Reference

structure describing a given CRC code of max 32 bits More...

#include <crc32gen.h>

Data Fields

int bits
 Actual number of bits of the CRC. More...
 
uint32_t poly
 Polynom (normal representation, MSB omitted. More...
 
uint32_t init
 Initialization value of the CRC state. More...
 
uint32_t remainder
 Remainder of the CRC (final XOR) More...
 

Detailed Description

structure describing a given CRC code of max 32 bits

Field Documentation

◆ bits

int osmo_crc32gen_code::bits

Actual number of bits of the CRC.

Referenced by osmo_crc32gen_check_bits(), osmo_crc32gen_compute_bits(), and osmo_crc32gen_set_bits().

◆ init

uint32_t osmo_crc32gen_code::init

Initialization value of the CRC state.

Referenced by osmo_crc32gen_compute_bits().

◆ poly

uint32_t osmo_crc32gen_code::poly

Polynom (normal representation, MSB omitted.

Referenced by osmo_crc32gen_compute_bits().

◆ remainder

uint32_t osmo_crc32gen_code::remainder

Remainder of the CRC (final XOR)

Referenced by osmo_crc32gen_compute_bits().


The documentation for this struct was generated from the following file: