#include <include.h>
#include <src/interface.h>
#include <src/driver.h>
#include <src/functions.h>
#include <src/analyse.h>
#include <src/scanner.h>
#include <src/crt_io.h>
#include <src/conversion.h>
#include <wtap.h>
Include dependency graph for scanner.c:
Go to the source code of this file.
Defines | |
#define | CLEAR_KEYBOARD_BUFFER memset (keystring, 0, KEYBOARD_BUFFER);keyindex = 0; |
Functions | |
void | Bye (void) |
void | HelpAndBye (void) |
void | VersionAndBye (void) |
void | DispConf (ConfigStruct *config) |
void | parse_keystring () |
void | check_keys () |
void | stop_signal (void) |
void | ChangeChannel_th (void *ptr1) |
void | check_keys_th () |
int | main (int argc, char **argv) |
Variables | |
static UINT8 | ID [] |
ConfigStruct | config |
ScanResult_t | Res |
WINDOW * | Title_WND |
WINDOW * | Panel_WND |
WINDOW * | Sum_WND |
WINDOW * | RealTime_WND |
Statistics_t | Stats |
UINT8 | CursesIsInUse = (UINT8) 0 |
pthread_mutex_t | screen_mutex = PTHREAD_MUTEX_INITIALIZER |
MUTEX for lock screen, so only one func write to it at the same time. | |
pthread_t | thread_ChgChan |
pthread_t | thread_RefreshRTW |
pthread_t | thread_checkkey |
UINT8 | stop_sniffing = (UINT8) 0 |
char | keystring [8] |
int | keyindex = 0 |
|
Definition at line 690 of file scanner.c. Referenced by parse_keystring(). |
|
|
|
|
|
|
|
|
Definition at line 692 of file scanner.c. References CHANNEL_MAX, ConfigStruct::ChannelHop, CLEAR_KEYBOARD_BUFFER, config, debug, ConfigStruct::DebugLevel, ConfigStruct::devname, ConfigStruct::DoNotDisplay, ConfigStruct::FirstNIC, HOP_MAX, HOP_MIN, KEYBOARD_BUFFER, keyindex, keystring, MAX_DEBUG_LEVEL, screen_mutex, selectChannel(), ConfigStruct::SingleChannel, stop_sniffing, SWITCH_BIT, TIME_TO_SLEEP_BEFORE_CHANGE_CHANNEL, ConfigStruct::TimeToSleepBeforeChangeChannel, and warning(). Referenced by check_keys_th(). |
|
Referenced by main(). |
|
Signal Handler Definition at line 79 of file scanner.c. References screen_mutex, stop_sniffing, and warning(). Referenced by main(). |
|
Definition at line 111 of file scanner.c. References ConfigStruct::ChannelHop, config, debug, NextChannel(), ConfigStruct::SingleChannel, stop_sniffing, ConfigStruct::TimeToSleepBeforeChangeChannel, and UINT32. Referenced by main(). |
|
Definition at line 160 of file scanner.c. References debug, KEYBOARD_BUFFER, keyindex, keystring, parse_keystring(), screen_mutex, stop_sniffing, Sum_WND, and TRUE. Referenced by main(). |
|
|
Initial value:
"$Id: scanner.c,v 1.54 2005/02/23 11:36:53 poggij Exp $"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MUTEX for lock screen, so only one func write to it at the same time.
|
|
Definition at line 67 of file scanner.c. Referenced by main(). |
|
Definition at line 67 of file scanner.c. Referenced by main(). |
|
Definition at line 67 of file scanner.c. Referenced by main(). |
|
Definition at line 68 of file scanner.c. Referenced by ChangeChannel_th(), check_keys_th(), main(), parse_keystring(), RefreshRealTime_WND_th(), and stop_signal(). |
|
Definition at line 73 of file scanner.c. Referenced by check_keys_th(), and parse_keystring(). |
|
Definition at line 74 of file scanner.c. Referenced by check_keys_th(), and parse_keystring(). |