Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
reedsolomon.h File Reference

Go to the source code of this file.

Macros

#define MM   8 /* Symbol size in bits */
 
#define KK   207 /* Number of data symbols per block */
 
#define B0   1 /* First root of generator polynomial, alpha form */
 
#define PRIM   1 /* power of alpha used to generate roots of generator poly */
 
#define STANDARD_ORDER
 
#define NN   ((1 << MM) - 1)
 

Typedefs

typedef unsigned char dtype
 

Functions

int encode_rs (dtype data[], dtype bb[])
 
int eras_dec_rs (dtype data[], int eras_pos[], int no_eras)
 

Detailed Description

Global definitions for Reed-Solomon encoder/decoder, by Phil Karn (karn@.nosp@m.ka9q.nosp@m..ampr.nosp@m..org) September 1996 Copyright 1999 Phil Karn, KA9Q

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later