From Didier Gautheron:
[obnox/wireshark/wip.git] / epan / dissectors / packet-radiotap.h
1 /*
2  * packet-radiotap.h
3  *      Declarations for packet-radiotap.c
4  *
5  * $Id$
6  *
7  * Wireshark - Network traffic analyzer
8  * By Gerald Combs <gerald@wireshark.org>
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_radiotap(const guchar *pd, int offset, int len, packet_counts *ld);
29 void proto_register_radiotap(void);
30 void proto_reg_handoff_radiotap(void);
31
32 struct _radiotap_info {
33   guint radiotap_length;
34   guint32 rate;
35   gint8 dbm_antsignal;
36   gint8 dbm_antnoise;
37   guint32 freq;
38   guint32 flags;
39   guint64 tsft;
40 };