From Bernd Leibing: catch another place where we weren't checking
[obnox/wireshark/wip.git] / packet-wlancap.h
1 /*
2  * packet-wlancap.h
3  *      Declarations for packet-wlancap.c
4  *
5  * $Id: packet-wlancap.h,v 1.1 2002/11/06 21:49:29 guy Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  *
11  * Copied from README.developer
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26  */
27
28 void capture_wlancap(const guchar *pd, int offset, int len, packet_counts *ld);
29 void proto_register_wlancap(void);
30 void proto_reg_handoff_wlancap(void);
31
32 #define WLANCAP_MAGIC_COOKIE_BASE 0x80211000
33 #define WLANCAP_MAGIC_COOKIE_V1 0x80211001