diff options
-rw-r--r-- | epan/reedsolomon.c | 32 | ||||
-rw-r--r-- | epan/reedsolomon.h | 28 |
2 files changed, 48 insertions, 12 deletions
diff --git a/epan/reedsolomon.c b/epan/reedsolomon.c index 3fbcc0039f..012d4c3aaa 100644 --- a/epan/reedsolomon.c +++ b/epan/reedsolomon.c @@ -1,18 +1,32 @@ -/* - * - * $Id$ +/* reedsolomon.c * - * Reed-Solomon coding and decoding - * Phil Karn (karn@ka9q.ampr.org) September 1996 + * Reed-Solomon encoding and decoding, + * by Phil Karn (karn@ka9q.ampr.org) September 1996 + * Copyright 1999 Phil Karn, KA9Q * Separate CCSDS version create Dec 1998, merged into this version May 1999 - * + * * This file is derived from my generic RS encoder/decoder, which is * in turn based on the program "new_rs_erasures.c" by Robert * Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and Hari Thirumoorthy * (harit@spectra.eng.hawaii.edu), Aug 1995 - - * Copyright 1999 Phil Karn, KA9Q - * May be used under the terms of the GNU public license + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <stdio.h> #include "reedsolomon.h" diff --git a/epan/reedsolomon.h b/epan/reedsolomon.h index 433f6e1e49..6bbc1b12b9 100644 --- a/epan/reedsolomon.h +++ b/epan/reedsolomon.h @@ -1,10 +1,32 @@ +/* reedsolomon.h + * + * Global definitions for Reed-Solomon encoder/decoder, + * by Phil Karn (karn@ka9q.ampr.org) September 1996 + * Copyright 1999 Phil Karn, KA9Q + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifdef __cplusplus extern "C" { #endif -/* Global definitions for Reed-Solomon encoder/decoder - * Phil Karn KA9Q, September 1996 - */ /* Set one of these to enable encoder/decoder debugging and error checking, * at the expense of speed */ /* #undef DEBUG 1*/ |