#include <include.h>
#include <src/functions.h>
#include <src/analyse.h>
#include <src/crc-32.h>
#include <src/crt_io.h>
#include <src/conversion.h>
#include <getopt.h>
#include <syslog.h>
Include dependency graph for functions.c:
Go to the source code of this file.
Functions | |
void | HelpAndBye (void) |
void | Bye (void) |
int | analyseBeacon (unsigned char *packet, int len) |
int | analyseProbeReq (unsigned char *packet, int len) |
int | analyseProbeRep (unsigned char *packet, int len) |
int | analyseCTS (unsigned char *packet) |
int | analyseRTS (unsigned char *packet) |
int | analyseACK (unsigned char *packet) |
int | analysePSPOLL (unsigned char *packet) |
int | analyseData (unsigned char *packet, int len) |
int | analyseMGMT (unsigned char *packet) |
void | ProcessTagBits (unsigned char *packet, int len, int FrameType) |
Generic analyse og MGMT packets. | |
UINT8 | dataIsCrypted (unsigned char *packet, int len) |
char * | safe_strncpy (char *dst, const char *src, int size) |
int | safe_snprintf (char *s, int size, char *fmt,...) |
void * | memcpy_buff (void *dest, const void *src, size_t n) |
void | UpdateOtherInformation (char *Buff) |
void | printfMAC (UINT8 AddMac[WLAN_ADDR_LEN]) |
int | processPacket (unsigned char *packet, int len) |
UINT8 | FilterESSID (char *ESSID) |
void | ParseCommandLine (int argc, char **argv, ConfigStruct *config) |
void | DispConf (ConfigStruct *config) |
void | ChannelToStr (char *strChannel, UINT8 Channel, UINT8 SChannel) |
void | InitConfiguration (ConfigStruct *config) |
Variables | |
sockaddr_nl | nl_sk_addr |
ScanResult_t | Res |
Statistics_t | Stats |
WINDOW * | Title_WND |
WINDOW * | Panel_WND |
WINDOW * | Sum_WND |
WINDOW * | RealTime_WND |
p80211_caphdr_t | wlan_header |
|
Definition at line 97 of file scanner.c. References HELPTEXT. Referenced by ParseCommandLine(). |
|
Definition at line 105 of file scanner.c. Referenced by main(), and ParseCommandLine(). |
|
|
Definition at line 425 of file functions.c. References ScanResult_t::BssId, FixedField_t::cap_info, debug, ScanResult_t::DestMac, ScanResult_t::hasWep, LogDetectedClient(), LogPutBSSID(), LogPutRate(), LogPutSeqNum(), LogPutSN(), ScanResult_t::Noise, ProcessTagBits(), Res, ScanResult_t::Signal, ScanResult_t::SrcMac, WLAN_FSTYPE_PROBEREQ, WLAN_GET_MGMT_CAP_INFO_PRIVACY, WLAN_GET_SEQ_FRGNUM, and WLAN_GET_SEQ_SEQNUM. Referenced by processPacket(). |
|
|
Definition at line 572 of file functions.c. References ScanResult_t::BssId, debug, ScanResult_t::DestMac, LogDetectedClient(), Res, ScanResult_t::SrcMac, and WLAN_STR_ADDR_LEN. Referenced by processPacket(). |
|
Definition at line 541 of file functions.c. References ScanResult_t::BssId, debug, ScanResult_t::DestMac, LogDetectedClient(), LogPutRate(), LogPutSN(), ScanResult_t::Rate, Res, ScanResult_t::Signal, ScanResult_t::SrcMac, and WLAN_STR_ADDR_LEN. Referenced by processPacket(). |
|
Definition at line 597 of file functions.c. References ScanResult_t::BssId, debug, ScanResult_t::DestMac, LogDetectedClient(), Res, ScanResult_t::SrcMac, and WLAN_STR_ADDR_LEN. Referenced by processPacket(). |
|
Definition at line 621 of file functions.c. References ScanResult_t::BssId, debug, ScanResult_t::DestMac, LogDetectedClient(), LogPutRate(), LogPutSeqNum(), LogPutSN(), ScanResult_t::Rate, Res, ScanResult_t::Signal, ScanResult_t::SrcMac, and WLAN_STR_ADDR_LEN. Referenced by processPacket(). |
|
|
Definition at line 762 of file functions.c. References ScanResult_t::BssId, debug, ScanResult_t::DestMac, LogDetectedClient(), LogPutRate(), LogPutSeqNum(), LogPutSN(), ScanResult_t::Rate, Res, ScanResult_t::Signal, ScanResult_t::SrcMac, and WLAN_STR_ADDR_LEN. Referenced by processPacket(). |
|
Generic analyse og MGMT packets.
Definition at line 816 of file functions.c. References ScanResult_t::Channel, CLEAR_TYPE_BIT_AP, debug, FilterESSID(), LogPutChannel(), LogPutMaxRate(), LogPutOtherInformation(), LogPutSSID(), ScanResult_t::OtherInformation, Res, SET_TYPE_BIT_AP, SET_TYPE_BIT_P2P, ScanResult_t::SSID, ScanResult_t::TypeOfClient, UpdateOtherInformation(), warning(), WLAN_EID_CF_PARMS, WLAN_EID_CHALLENGE, WLAN_EID_DS_PARMS, WLAN_EID_FH_PARMS, WLAN_EID_IBSS_PARMS, WLAN_EID_SSID, WLAN_EID_SUPP_RATES, WLAN_EID_TIM, WLAN_FSTYPE_ASSOCREQ, WLAN_FSTYPE_ASSOCRESP, WLAN_FSTYPE_ATIM, WLAN_FSTYPE_BEACON, WLAN_FSTYPE_PROBEREQ, WLAN_FSTYPE_PROBERESP, WLAN_FSTYPE_REASSOCREQ, and WLAN_FSTYPE_REASSOCRESP. Referenced by analyseBeacon(), analyseProbeRep(), and analyseProbeReq(). |
|
Definition at line 117 of file functions.c. References FixedField_t::cap_info, Statistics_t::CryptedPackets, Statistics_t::IV, ScanResult_t::IV, Res, Stats, Statistics_t::WeakIV, WLAN_GET_FC_FROMDS, WLAN_GET_FC_TODS, and WLAN_GET_MGMT_CAP_INFO_PRIVACY. Referenced by analyseData(). |
|
Definition at line 79 of file functions.c. |
|
Definition at line 85 of file functions.c. |
|
Definition at line 101 of file functions.c. References debug, and MAX_BUFFER_SIZE. Referenced by getPacketATHEROS(), getPacketCISCO(), getPacketHERMES(), getPacketHOSTAP(), getPacketPRISM54g(), and getPacketWLAN(). |
|
Definition at line 180 of file functions.c. References debug, MAXSIZE_OTHERINFORMATION, ScanResult_t::OtherInformation, and Res. Referenced by ProcessTagBits(). |
|
Definition at line 197 of file functions.c. |
|
|
Definition at line 800 of file functions.c. References FALSE. Referenced by ProcessTagBits(). |
|
|
|
Channel to string Definition at line 1351 of file functions.c. References debug. Referenced by main(). |
|
Definition at line 1364 of file functions.c. References ConfigStruct::ChannelHop, ConfigStruct::CheckScreenSize, config, ConfigStruct::DateFormat, ConfigStruct::DebugLevel, ConfigStruct::devname, ConfigStruct::DoNotDisplay, FALSE, ConfigStruct::SendAlert2Syslog, ConfigStruct::SingleChannel, ConfigStruct::TimeToSleepBeforeChangeChannel, TRUE, ConfigStruct::TypeOfCard, and WLAN_NG_CARD. Referenced by main(). |
|
|
|
|
|
|
|
Definition at line 60 of file scanner.c. Referenced by InitScreen(), and RefreshAllWND(). |
|
|
|
|
|
|
|
|