analyse.h

Go to the documentation of this file.
00001 /* Linux Prism II Stumbler - Utility Scan for 802_11 networks under Linux
00002  * 
00003  * File : analyse.h
00004  * Project : WifiScanner (c) 2002 Herv<E9> Schauer Consultants
00005  * Usage : This utility is written for use with IEEE 802.11 adapters based
00006  * on Intersil's PRISM II chipset (PCMCIA).
00007  * 
00008  * Base code was from prismstumbler Jan Fernquist <Jan.B.Fernquist@telia.com>
00009  * and wlanctl from www.linux-wlan.org
00010  *
00011  * This program is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU General Public License
00013  * as published by the Free Software Foundation; either version 2
00014  * of the License, or (at your option) any later version.
00015  * 
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  * 
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00024  *
00025  */
00026 
00027 #ifndef __analyse_h__
00028 #define __analyse_h__
00029 
00030 // Some values :-)
00031 #define HISTOSIZE 37
00032 #define POS_MAC 6
00033 #define POS_SSID 24
00034 #define POS_CHANNEL 56
00035 #define POS_CRYPT 57
00036 #define POS_HISTO 58
00037 
00038 #define SENSOFIDS_TS 5
00039 
00040 // public declarations
00041 void LogPutSN(UINT8 AddMac[WLAN_ADDR_LEN], UINT32 SN);
00042 void LogPutRate(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 Rate);
00043 void LogPutMaxSpeed(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 Rate);
00044 void LogDetectedClient(UINT8 AddMac[WLAN_ADDR_LEN]);
00045 void LogPutBSSID(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 BSSID[WLAN_ADDR_LEN]);
00046 void LogPutDS(UINT8 BSSID[WLAN_ADDR_LEN]);
00047 void LogPutWep(UINT8 BSSID[WLAN_ADDR_LEN], UINT8 hasWep, UINT8 hasWPA);
00048 void LogPutSSID(UINT8 AddMac[WLAN_ADDR_LEN],
00049                 UINT8 BSSID[WLAN_ADDR_LEN], char *SSID);
00050 void LogPutChannel(UINT8 AddMac[WLAN_ADDR_LEN],
00051                    UINT8 BSSID[WLAN_ADDR_LEN], UINT8 Channel);
00052 void LogPutIsAP(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 hasWep, UINT8 hasWPA,
00053                 UINT16 bcn_int);
00054 void LogPutIsP2P(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 hasWep,
00055                  UINT16 bcn_int);
00056 void LogPutOtherInformation(UINT8 AddMac[WLAN_ADDR_LEN],
00057                             char *OtherInformation);
00058 void LogPutTimestamp(UINT8 AddMac[WLAN_ADDR_LEN], UINT64 TS);
00059 void LogPutSeqNum(UINT8 AddMac[WLAN_ADDR_LEN],
00060                   UINT8 AddMacDst[WLAN_ADDR_LEN], UINT16 SeqNum);
00061 void LogPutLastIV(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 IV[4]);
00062 
00063 void LogWriteReport(void);
00064 void LogWriteDOT(FILE * filename);
00065 void LogWritePanel(void);
00066 void LogWriteHisto(void);
00067 
00068 /* */
00069 void ResetAllDetectedClient(void);
00070 
00071 /* */
00072 void Send_To_All_BSSID_A_Deauth(void);
00073 
00074 /* */
00075 void DoSummary(void);
00076 void WritePanel(UINT8 GoodPacket);
00077 
00078 /* IDS */
00079 UINT8 IDS(void);
00080 
00081 /* misc */
00082 void AnalyseTAG221(UINT8 AddMac[WLAN_ADDR_LEN], UINT8 * varBits,
00083                    int tagLen);
00084 
00085 #endif

Generated on Fri Jul 25 17:10:32 2008 for WifiScanner by  doxygen 1.5.5