struct rs_control — rs control structure
struct rs_control {
int mm;
int nn;
uint16_t * alpha_to;
uint16_t * index_of;
uint16_t * genpoly;
int nroots;
int fcr;
int prim;
int iprim;
int gfpoly;
int (* gffunc) (int);
int users;
struct list_head list;
}; Bits per symbol
Symbols per block (= (1<<mm)-1)
log lookup table
Antilog lookup table
Generator polynomial
Number of generator roots = number of parity symbols
First consecutive root, index form
Primitive element, index form
prim-th root of 1, index form
The primitive generator polynominal
Function to generate the field, if non-canonical representation
Users of this structure
List entry for the rs control list