4 * Copyright (c) 2007 by Intel Corporation.
6 * Author: Mike Harvey <michael.harvey@intel.com>
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1999 Gerald Combs
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 /* use lookup tables to compute CRC values */
36 extern guint8 crc8_table
[];
37 extern guint32 crc32_table
[];
39 void wimax_mac_gen_crc32_table(void);
40 void wimax_mac_gen_crc8_table(void);
43 guint32
wimax_mac_calc_crc32(const guint8
*data
, guint data_len
);
44 guint16
wimax_mac_calc_crc16(const guint8
*data
, guint data_len
);
45 guint8
wimax_mac_calc_crc8(const guint8
*data
, guint data_len
);