2 * main.h - main header file
4 * author: hackbard@hackdaworld.dyndns.org
11 #define SYSCALL_MAX 32
12 #define MAX_DEV_CHARS 6
13 #define PCAP_SELECT_SEC 0
14 #define PCAP_SELECT_USEC 200000
16 #define CAP_MODE_MASK 0x01
17 #define CAP_QUIT_MASK 0x02
19 #define MONITORING_MODE 0x01
20 #define MANAGED_MODE 0x00
21 #define QUIT_MODE 0x02
23 #define IWPRIV_M_MODE 3
29 unsigned char caps; /* capabilities */
30 int logfile_fd; /* file descriptof for logfile */
31 char device[MAX_DEV_CHARS]; /* sniffed devie */
32 int channel_hop_fd; /* fd for channel hopping */
36 /* function prototypes */