![Guy Harris](/assets/img/avatar_default.png)
header. Add overflow checks to "BYTES_ARE_IN_FRAME()", and cast all arguments to unsigned values (negative values should never be passed) to squelch compiler warnings. svn path=/trunk/; revision=6567
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/*
|
|
* packet-wlancap.h
|
|
* Declarations for packet-wlancap.c
|
|
*
|
|
* $Id: packet-wlancap.h,v 1.1 2002/11/06 21:49:29 guy Exp $
|
|
*
|
|
* Ethereal - Network traffic analyzer
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* Copied from README.developer
|
|
*
|
|
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
void capture_wlancap(const guchar *pd, int offset, int len, packet_counts *ld);
|
|
void proto_register_wlancap(void);
|
|
void proto_reg_handoff_wlancap(void);
|
|
|
|
#define WLANCAP_MAGIC_COOKIE_BASE 0x80211000
|
|
#define WLANCAP_MAGIC_COOKIE_V1 0x80211001
|