2004-01-31 04:40:09 +00:00
|
|
|
/*
|
2012-05-02 04:03:49 +00:00
|
|
|
* packet-ieee80211-radiotap.h
|
|
|
|
* Declarations for packet-ieee80211-radiotap.c
|
2004-01-31 04:40:09 +00:00
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2004-01-31 04:40:09 +00:00
|
|
|
* 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
|
2012-06-28 23:18:38 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2004-01-31 04:40:09 +00:00
|
|
|
*/
|
|
|
|
|
2013-03-01 23:53:11 +00:00
|
|
|
#ifndef __PACKET_IEEE80211_RADIOTAP_H__
|
|
|
|
#define __PACKET_IEEE80211_RADIOTAP_H__
|
|
|
|
|
|
|
|
#include "ws_symbol_export.h"
|
|
|
|
|
|
|
|
WS_DLL_PUBLIC
|
2004-01-31 04:40:09 +00:00
|
|
|
void capture_radiotap(const guchar *pd, int offset, int len, packet_counts *ld);
|
|
|
|
void proto_register_radiotap(void);
|
|
|
|
void proto_reg_handoff_radiotap(void);
|
2008-11-27 08:34:41 +00:00
|
|
|
|
|
|
|
struct _radiotap_info {
|
|
|
|
guint radiotap_length;
|
|
|
|
guint32 rate;
|
|
|
|
gint8 dbm_antsignal;
|
|
|
|
gint8 dbm_antnoise;
|
|
|
|
guint32 freq;
|
|
|
|
guint32 flags;
|
|
|
|
guint64 tsft;
|
|
|
|
};
|
2013-03-01 23:53:11 +00:00
|
|
|
|
|
|
|
#endif
|