2 This file is part of Wi-viz (http://wiviz.natetrue.com).
4 Wi-viz is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License v2 as published by
6 the Free Software Foundation.
8 Wi-viz is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with Wi-viz; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 //Structure definitions for wireless packets
22 typedef unsigned short u_short
;
23 typedef unsigned char u_char
;
24 typedef unsigned int u_int
;
29 mgt_assocResponse
= 1,
30 mgt_reassocRequest
= 2,
31 mgt_reassocResponse
= 3,
33 mgt_probeResponse
= 5,
40 typedef struct ieee802_11_hdr
{
43 #define IEEE80211_TO_DS 0x01
44 #define IEEE80211_FROM_DS 0x02
45 #define IEEE80211_MORE_FRAG 0x04
46 #define IEEE80211_RETRY 0x08
47 #define IEEE80211_PWR_MGT 0x10
48 #define IEEE80211_MORE_DATA 0x20
49 #define IEEE80211_WEP_FLAG 0x40
50 #define IEEE80211_ORDER_FLAG 0x80
62 #define MGT_CAPS_AP 0x1
63 #define MGT_CAPS_IBSS 0x2
64 #define MGT_CAPS_WEP 0x10
65 } ieee_802_11_mgt_frame
;
76 tagVendorSpecific
= 0xDD
79 typedef struct prism_hdr
{
86 typedef struct prism_did
{
94 typedef enum prism_did_num
{
95 pdn_host_time
= 0x1041,
96 pdn_mac_time
= 0x2041,
99 pdn_datarate
= 0x8041,
100 pdn_framelen
= 0xa041
105 //Structure definitions for data collection
134 ap_enc_type encryption
;
139 u_char connectedBSSID
[6];
152 //Primary config struct
154 wiviz_host hosts
[MAX_HOSTS
];
157 time_t lastKeepAlive
;
159 int channelDwellTime
;
160 int channelHopSeq
[14];
161 int channelHopSeqLen
;
163 int channelHopperPID
;
This page took 0.052128 seconds and 5 git commands to generate.