Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

include.h File Reference

#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#include <limits.h>
#include <string.h>
#include <sys/time.h>
#include <time.h>
#include <sys/timeb.h>
#include <sys/socket.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
#include <asm/types.h>
#include <linux/netlink.h>
#include <errno.h>
#include <ctype.h>
#include <net/bpf.h>
#include <ncurses.h>
#include <pthread.h>
#include <pcap.h>
#include <wlan/p80211hdr.h>

Include dependency graph for include.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  p80211_caphdr

Defines

#define LWNG_16
#define LWNG_15
#define LWNG_14
#define ABSTRACTION_LAYER
#define FALSE   (UINT8) 0
#define TRUE   (UINT8) 1
#define UINT8_MAX   (0xffUL)
#define UINT16_MAX   (0xffffUL)
#define UINT32_MAX   (0xffffffffUL)
#define INT8_MAX   (0x7fL)
#define INT16_MAX   (0x7fffL)
#define INT32_MAX   (0x7fffffffL)
#define __WLAN_ATTRIB_PACK__   __attribute__ ((packed))
#define __WLAN_PRAGMA_PACK1__
#define __WLAN_PRAGMA_PACKDFLT__
#define __WLAN_INLINE__   inline
#define WIFISCANNER_VERSION   WIFISCANNER_VERSION_NUM
#define MAX_BUFFER_SIZE   4096
#define DEVNAME_LEN   16
#define MCAST_GRP_SNIFF   0x00000002
#define WLAN_STR_ADDR_LEN   18
#define MAXSIZE_OTHERINFORMATION   0x100
#define HISTORY_SIZE   4
#define MAX_NUMBER_OF_DETECTED_CLIENT   8192
#define KEYBOARD_BUFFER   8
#define MANUF_MAXSTRINGLENGTH   32
#define TIME_TO_SLEEP_BEFORE_CHANGE_CHANNEL   (1000/(14*1))
#define TIMEOUT_TRY_TO_READ_PAQUET   (1000000/(14/2))
#define SET_BIT(a, n)   (a|=(1<<n))
#define CLR_BIT(a, n)   (a&=~(1<<n))
#define IS_BIT_SET(a, n)   (a & (1<<n))
#define IS_BIT_CLR(a, n)   (~(a & (1<<n)))
#define SWITCH_BIT(a, n)   (a^=(1<<n))
#define GET_BIT(a, n)   ((a >> n) & 1)
#define TYPE_BIT_AP   0
#define TYPE_BIT_BEACON   1
#define TYPE_BIT_P2P   2
#define TYPE_BIT_DATA   3
#define TYPE_BIT_TODS   4
#define TYPE_BIT_FROMDS   5
#define SET_TYPE_BIT_AP(x)   SET_BIT(x, TYPE_BIT_AP)
#define SET_TYPE_BIT_BEACON(x)   SET_BIT(x, TYPE_BIT_BEACON)
#define SET_TYPE_BIT_P2P(x)   SET_BIT(x, TYPE_BIT_P2P)
#define SET_TYPE_BIT_DATA(x)   SET_BIT(x, TYPE_BIT_DATA)
#define SET_TYPE_BIT_TODS(x)   SET_BIT(x, TYPE_BIT_TODS)
#define SET_TYPE_BIT_FROMDS(x)   SET_BIT(x, TYPE_BIT_FROMDS)
#define CLEAR_TYPE_BIT_AP(x)   CLR_BIT(x, TYPE_BIT_AP)
#define CLEAR_TYPE_BIT_BEACON(x)   CLR_BIT(x, TYPE_BIT_BEACON)
#define CLEAR_TYPE_BIT_P2P(x)   CLR_BIT(x, TYPE_BIT_P2P)
#define CLEAR_TYPE_BIT_DATA(x)   CLR_BIT(x, TYPE_BIT_DATA)
#define CLEAR_TYPE_BIT_TODS(x)   CLR_BIT(x, TYPE_BIT_TODS)
#define CLEAR_TYPE_BIT_FROMDS(x)   CLR_BIT(x, TYPE_BIT_FROMDS)
#define GET_TYPE_BIT_AP(x)   GET_BIT(x, TYPE_BIT_AP)
#define GET_TYPE_BIT_BEACON(x)   GET_BIT(x, TYPE_BIT_BEACON)
#define GET_TYPE_BIT_P2P(x)   GET_BIT(x, TYPE_BIT_P2P)
#define GET_TYPE_BIT_DATA(x)   GET_BIT(x, TYPE_BIT_DATA)
#define GET_TYPE_BIT_TODS(x)   GET_BIT(x, TYPE_BIT_TODS)
#define GET_TYPE_BIT_FROMDS(x)   GET_BIT(x, TYPE_BIT_FROMDS)
#define TYPE_BIT_00   "Client"
#define TYPE_BIT_01   "AP Base"
#define TYPE_BIT_02   "AP Base (STA in master mode)"
#define TYPE_BIT_03   "AP Base (dedicated)"
#define TYPE_BIT_04   "Ad-Hoc STA"
#define TYPE_BIT_05   "???5"
#define TYPE_BIT_06   "Ad-Hoc STA (beacon)"
#define TYPE_BIT_07   "Ad-Hoc STA"
#define TYPE_BIT_08   "STA Activity"
#define TYPE_BIT_09   "???9 Reserved"
#define TYPE_BIT_0A   "???A Reserved"
#define TYPE_BIT_0B   "???B Reserved"
#define TYPE_BIT_0C   "???C Reserved"
#define TYPE_BIT_0D   "???D Reserved"
#define TYPE_BIT_0E   "???E Reserved"
#define TYPE_BIT_0F   "???F Reserved"
#define SUBTYPE_BIT_00   "Radio only"
#define SUBTYPE_BIT_01   "Data To DS"
#define SUBTYPE_BIT_02   "Data From DS"
#define SUBTYPE_BIT_03   "Data AP to AP"
#define SUBTYPE_BIT_04   "???4 Reserved"
#define SUBTYPE_BIT_05   "???5 Reserved"
#define SUBTYPE_BIT_06   "???6 Reserved"
#define SUBTYPE_BIT_07   "???7 Reserved"
#define SUBTYPE_BIT_08   "???8 Reserved"
#define SUBTYPE_BIT_09   "???9 Reserved"
#define SUBTYPE_BIT_0A   "???A Reserved"
#define SUBTYPE_BIT_0B   "???B Reserved"
#define SUBTYPE_BIT_0C   "???C Reserved"
#define SUBTYPE_BIT_0D   "???D Reserved"
#define SUBTYPE_BIT_0E   "???E Reserved"
#define SUBTYPE_BIT_0F   "???F Reserved"
#define WLAN_SIZEOF_TYPEOFPACKET   6
#define STR_YES   "Yes"
#define STR_NO   "No"
#define STR_WEP   "Wep"
#define STR_NOWEP   "---"
#define STR_STA   "STA"
#define STR_AP   "AP"
#define MAX_DEBUG_LEVEL   3
#define DEBUG_POINT   debug(3, "%s:%d\n", __FUNCTION__, __LINE__);
#define HELPTEXT1
#define HELPTEXT
#define IS_DISPLAY_ACK(x)   ( (x > 0) & 1)
#define IS_DISPLAY_BEACON(x)   ( (x > 1) & 1)
#define IS_DISPLAY_CONTROL(x)   ( (x > 2) & 1)
#define IS_DISPLAY_DATA(x)   ( (x > 3) & 1)
#define WLAN_NG_CARD   1
#define CISCO_CARD   2
#define LUCENT_CARD   3
#define WLAN_NG_CARD_AVS_CFF2   4
#define PCAP_VIRTUAL_CARD   5
#define HOSTAP_CARD   6
#define CISCO_CVS_CARD   7
#define ATHEROS_CARD   8
#define PRISM54G_CARD   9
#define phytype_fhss_dot11_97   1
#define phytype_dsss_dot11_97   2
#define phytype_irbaseband   3
#define phytype_dsss_dot11_b   4
#define phytype_pbcc_dot11_b   5
#define phytype_ofdm_dot11_g   6
#define phytype_pbcc_dot11_g   7
#define phytype_ofdm_dot11_a   8
#define WLAN_ETHADDR_LEN   6
#define WLAN_IEEE_OUI_LEN   3
#define WLAN_ETHCONV_ENCAP   1
#define WLAN_ETHCONV_RFC1042   2
#define WLAN_ETHCONV_8021h   3
#define WLAN_MIN_ETHFRM_LEN   60
#define WLAN_MAX_ETHFRM_LEN   1514
#define WLAN_ETHHDR_LEN   14
#define WLAN_SSID_MAXLEN   32
#define P80211CAPTURE_VERSION   0x80211001

Typedefs

typedef p80211_caphdr p80211_caphdr_t
typedef CaptureArg_t CaptureArg


Define Documentation

#define LWNG_16
 

Definition at line 37 of file include.h.

#define LWNG_15
 

Definition at line 41 of file include.h.

#define LWNG_14
 

Definition at line 45 of file include.h.

#define ABSTRACTION_LAYER
 

Definition at line 49 of file include.h.

#define FALSE   (UINT8) 0
 

Definition at line 131 of file include.h.

Referenced by debug(), debugTS(), EndCurses(), FilterESSID(), InitConfiguration(), InitScreen(), main(), openCard(), ParseCommandLine(), shutCard(), and warning().

#define TRUE   (UINT8) 1
 

Definition at line 134 of file include.h.

Referenced by check_keys_th(), debug(), debugTS(), fatal(), InitConfiguration(), InitScreen(), main(), ParseCommandLine(), Send_IDS_Warning(), and warning().

#define UINT8_MAX   (0xffUL)
 

Definition at line 137 of file include.h.

#define UINT16_MAX   (0xffffUL)
 

Definition at line 138 of file include.h.

#define UINT32_MAX   (0xffffffffUL)
 

Definition at line 139 of file include.h.

#define INT8_MAX   (0x7fL)
 

Definition at line 141 of file include.h.

#define INT16_MAX   (0x7fffL)
 

Definition at line 142 of file include.h.

#define INT32_MAX   (0x7fffffffL)
 

Definition at line 143 of file include.h.

#define __WLAN_ATTRIB_PACK__   __attribute__ ((packed))
 

Definition at line 145 of file include.h.

#define __WLAN_PRAGMA_PACK1__
 

Definition at line 146 of file include.h.

#define __WLAN_PRAGMA_PACKDFLT__
 

Definition at line 147 of file include.h.

#define __WLAN_INLINE__   inline
 

Definition at line 148 of file include.h.

#define WIFISCANNER_VERSION   WIFISCANNER_VERSION_NUM
 

Definition at line 157 of file include.h.

Referenced by InitScreen(), and main().

#define MAX_BUFFER_SIZE   4096
 

Definition at line 160 of file include.h.

Referenced by DumpHexPaquets(), getPacketATHEROS(), getPacketWLAN(), main(), and memcpy_buff().

#define DEVNAME_LEN   16
 

Definition at line 161 of file include.h.

Referenced by do_ioctl(), openCardCISCO(), openCardWLAN(), ParseCommandLine(), selectChannelWLAN(), and shutCardWLAN().

#define MCAST_GRP_SNIFF   0x00000002
 

Definition at line 162 of file include.h.

#define WLAN_STR_ADDR_LEN   18
 

Definition at line 163 of file include.h.

Referenced by analyseACK(), analyseCTS(), analyseData(), analyseMGMT(), analysePSPOLL(), and analyseRTS().

#define MAXSIZE_OTHERINFORMATION   0x100
 

Definition at line 164 of file include.h.

Referenced by LogPutOtherInformation(), and UpdateOtherInformation().

#define HISTORY_SIZE   4
 

Definition at line 165 of file include.h.

Referenced by CalculCoef(), IDS_BcnInt(), IDS_TimeStamp(), IDS_Var_SeqNum(), LogPutIsAP(), LogPutIsP2P(), LogPutSeqNum(), LogPutSN(), and LogPutTimestamp().

#define MAX_NUMBER_OF_DETECTED_CLIENT   8192
 

Definition at line 166 of file include.h.

Referenced by LogDetectedClient(), and main().

#define KEYBOARD_BUFFER   8
 

Definition at line 167 of file include.h.

Referenced by check_keys_th(), and parse_keystring().

#define MANUF_MAXSTRINGLENGTH   32
 

Definition at line 169 of file include.h.

Referenced by LogDetectedClient().

#define TIME_TO_SLEEP_BEFORE_CHANGE_CHANNEL   (1000/(14*1))
 

Definition at line 180 of file include.h.

Referenced by parse_keystring().

#define TIMEOUT_TRY_TO_READ_PAQUET   (1000000/(14/2))
 

Definition at line 181 of file include.h.

Referenced by main().

#define SET_BIT a,
 )     (a|=(1<<n))
 

Definition at line 187 of file include.h.

Referenced by ParseCommandLine().

#define CLR_BIT a,
 )     (a&=~(1<<n))
 

Definition at line 188 of file include.h.

#define IS_BIT_SET a,
 )     (a & (1<<n))
 

Definition at line 189 of file include.h.

Referenced by WritePanel(), and WriteSummary().

#define IS_BIT_CLR a,
 )     (~(a & (1<<n)))
 

Definition at line 190 of file include.h.

#define SWITCH_BIT a,
 )     (a^=(1<<n))
 

Definition at line 191 of file include.h.

Referenced by parse_keystring().

#define GET_BIT a,
 )     ((a >> n) & 1)
 

Definition at line 192 of file include.h.

#define TYPE_BIT_AP   0
 

Definition at line 214 of file include.h.

#define TYPE_BIT_BEACON   1
 

Definition at line 215 of file include.h.

#define TYPE_BIT_P2P   2
 

Definition at line 216 of file include.h.

#define TYPE_BIT_DATA   3
 

Definition at line 217 of file include.h.

#define TYPE_BIT_TODS   4
 

Definition at line 218 of file include.h.

#define TYPE_BIT_FROMDS   5
 

Definition at line 219 of file include.h.

#define SET_TYPE_BIT_AP  )     SET_BIT(x, TYPE_BIT_AP)
 

Definition at line 221 of file include.h.

Referenced by analyseBeacon(), analyseData(), analyseProbeRep(), and ProcessTagBits().

#define SET_TYPE_BIT_BEACON  )     SET_BIT(x, TYPE_BIT_BEACON)
 

Definition at line 222 of file include.h.

Referenced by analyseBeacon().

#define SET_TYPE_BIT_P2P  )     SET_BIT(x, TYPE_BIT_P2P)
 

Definition at line 223 of file include.h.

Referenced by analyseBeacon(), analyseProbeRep(), and ProcessTagBits().

#define SET_TYPE_BIT_DATA  )     SET_BIT(x, TYPE_BIT_DATA)
 

Definition at line 224 of file include.h.

Referenced by processPacket().

#define SET_TYPE_BIT_TODS  )     SET_BIT(x, TYPE_BIT_TODS)
 

Definition at line 225 of file include.h.

Referenced by analyseData().

#define SET_TYPE_BIT_FROMDS  )     SET_BIT(x, TYPE_BIT_FROMDS)
 

Definition at line 226 of file include.h.

Referenced by analyseData().

#define CLEAR_TYPE_BIT_AP  )     CLR_BIT(x, TYPE_BIT_AP)
 

Definition at line 228 of file include.h.

Referenced by analyseBeacon(), analyseProbeRep(), and ProcessTagBits().

#define CLEAR_TYPE_BIT_BEACON  )     CLR_BIT(x, TYPE_BIT_BEACON)
 

Definition at line 229 of file include.h.

#define CLEAR_TYPE_BIT_P2P  )     CLR_BIT(x, TYPE_BIT_P2P)
 

Definition at line 230 of file include.h.

Referenced by analyseBeacon(), and analyseProbeRep().

#define CLEAR_TYPE_BIT_DATA  )     CLR_BIT(x, TYPE_BIT_DATA)
 

Definition at line 231 of file include.h.

#define CLEAR_TYPE_BIT_TODS  )     CLR_BIT(x, TYPE_BIT_TODS)
 

Definition at line 232 of file include.h.

#define CLEAR_TYPE_BIT_FROMDS  )     CLR_BIT(x, TYPE_BIT_FROMDS)
 

Definition at line 233 of file include.h.

#define GET_TYPE_BIT_AP  )     GET_BIT(x, TYPE_BIT_AP)
 

Definition at line 235 of file include.h.

Referenced by main().

#define GET_TYPE_BIT_BEACON  )     GET_BIT(x, TYPE_BIT_BEACON)
 

Definition at line 236 of file include.h.

#define GET_TYPE_BIT_P2P  )     GET_BIT(x, TYPE_BIT_P2P)
 

Definition at line 237 of file include.h.

#define GET_TYPE_BIT_DATA  )     GET_BIT(x, TYPE_BIT_DATA)
 

Definition at line 238 of file include.h.

#define GET_TYPE_BIT_TODS  )     GET_BIT(x, TYPE_BIT_TODS)
 

Definition at line 239 of file include.h.

#define GET_TYPE_BIT_FROMDS  )     GET_BIT(x, TYPE_BIT_FROMDS)
 

Definition at line 240 of file include.h.

#define TYPE_BIT_00   "Client"
 

Definition at line 242 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_01   "AP Base"
 

Definition at line 243 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_02   "AP Base (STA in master mode)"
 

Definition at line 244 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_03   "AP Base (dedicated)"
 

Definition at line 245 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_04   "Ad-Hoc STA"
 

Definition at line 246 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_05   "???5"
 

Definition at line 247 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_06   "Ad-Hoc STA (beacon)"
 

Definition at line 248 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_07   "Ad-Hoc STA"
 

Definition at line 249 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_08   "STA Activity"
 

Definition at line 250 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_09   "???9 Reserved"
 

Definition at line 251 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_0A   "???A Reserved"
 

Definition at line 252 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_0B   "???B Reserved"
 

Definition at line 253 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_0C   "???C Reserved"
 

Definition at line 254 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_0D   "???D Reserved"
 

Definition at line 255 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_0E   "???E Reserved"
 

Definition at line 256 of file include.h.

Referenced by TypeOfClientToString().

#define TYPE_BIT_0F   "???F Reserved"
 

Definition at line 257 of file include.h.

Referenced by TypeOfClientToString().

#define SUBTYPE_BIT_00   "Radio only"
 

Definition at line 259 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_01   "Data To DS"
 

Definition at line 260 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_02   "Data From DS"
 

Definition at line 261 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_03   "Data AP to AP"
 

Definition at line 262 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_04   "???4 Reserved"
 

Definition at line 263 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_05   "???5 Reserved"
 

Definition at line 264 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_06   "???6 Reserved"
 

Definition at line 265 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_07   "???7 Reserved"
 

Definition at line 266 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_08   "???8 Reserved"
 

Definition at line 267 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_09   "???9 Reserved"
 

Definition at line 268 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_0A   "???A Reserved"
 

Definition at line 269 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_0B   "???B Reserved"
 

Definition at line 270 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_0C   "???C Reserved"
 

Definition at line 271 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_0D   "???D Reserved"
 

Definition at line 272 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_0E   "???E Reserved"
 

Definition at line 273 of file include.h.

Referenced by SubTypeOfClientToString().

#define SUBTYPE_BIT_0F   "???F Reserved"
 

Definition at line 274 of file include.h.

Referenced by SubTypeOfClientToString().

#define WLAN_SIZEOF_TYPEOFPACKET   6
 

Definition at line 276 of file include.h.

Referenced by processPacket().

#define STR_YES   "Yes"
 

Definition at line 278 of file include.h.

Referenced by BoolToStr().

#define STR_NO   "No"
 

Definition at line 279 of file include.h.

Referenced by BoolToStr().

#define STR_WEP   "Wep"
 

Definition at line 281 of file include.h.

Referenced by BoolToWepNoWep().

#define STR_NOWEP   "---"
 

Definition at line 282 of file include.h.

Referenced by BoolToWepNoWep().

#define STR_STA   "STA"
 

Definition at line 284 of file include.h.

Referenced by BoolToStaAp().

#define STR_AP   "AP"
 

Definition at line 285 of file include.h.

Referenced by BoolToStaAp().

#define MAX_DEBUG_LEVEL   3
 

The maximum of DEBUG Level *

Definition at line 288 of file include.h.

Referenced by DispConf(), parse_keystring(), and ParseCommandLine().

#define DEBUG_POINT   debug(3, "%s:%d\n", __FUNCTION__, __LINE__);
 

Definition at line 289 of file include.h.

Referenced by selectChannel().

#define HELPTEXT1
 

Value:

"Call with no parameters or with the following options\n" \
" --help          -h           - This help page\n" \
" --version       -v           - Write Version and quit\n" \
" --verbose       -V level     - For verbose, level 2 is for debugging\n" \
" --card-driver   -C           - Wireless card driver :\n" \
"                                'prism', 'cisco' 'cisco_wifi (eth+wifi)' 'orinoco' 'atheros', 'prism54g', or 'hostap'\n" \
" --iface         -i device    - Name of the interface (default wlan0)\n" \
"                              - for cisco_wifi driver, give the two interfaces like eth1,wifi0\n" \
" --output-file   -F filename  - Save output to a file as well as stdout\n" \
" --device-file   -D filename  - Create a file of detected devices, in a .dot format\n" \
" --hop           -H number    - Number of hops do for rotating channel (default 5)\n" \
" --channel       -S channel   - Only listen on a specific Channel (1-14)\n" \
" --computer-date -d           - Write date in machine readable format\n" \
" --ids           -I           - Activate the IDS functions\n" \
" --max-packets   -M number    - Max packets to capture before exit\n" \
"                                (0 = unlimited)\n" \
" --hide-packets  -N abcd      - Do not display Ack, Beacon, Control, Data\n" \
" --hop-delay     -t number    - Number of ms before channel change (default=200)\n" \
" --disable-check -c           - Do not chek curses screen size\n" \
HELP of the program

Definition at line 294 of file include.h.

#define HELPTEXT
 

Value:

HELPTEXT1 \
" --pcap-file     -W filename  - Save sniffed data to a file in PCAP format\n"

Definition at line 317 of file include.h.

Referenced by HelpAndBye().

#define IS_DISPLAY_ACK  )     ( (x > 0) & 1)
 

Functions to determine if we must not display some packet

Definition at line 330 of file include.h.

#define IS_DISPLAY_BEACON  )     ( (x > 1) & 1)
 

Definition at line 331 of file include.h.

#define IS_DISPLAY_CONTROL  )     ( (x > 2) & 1)
 

Definition at line 332 of file include.h.

#define IS_DISPLAY_DATA  )     ( (x > 3) & 1)
 

Definition at line 333 of file include.h.

#define WLAN_NG_CARD   1
 

Captured Frame Format

Definition at line 336 of file include.h.

Referenced by closePacket(), getPacket(), InitConfiguration(), openCard(), openPacket(), ParseCommandLine(), selectChannel(), and shutCard().

#define CISCO_CARD   2
 

Definition at line 337 of file include.h.

Referenced by closePacket(), getPacket(), main(), openCard(), openPacket(), ParseCommandLine(), selectChannel(), and shutCard().

#define LUCENT_CARD   3
 

Definition at line 338 of file include.h.

Referenced by closePacket(), getPacket(), openCard(), openPacket(), ParseCommandLine(), selectChannel(), and shutCard().

#define WLAN_NG_CARD_AVS_CFF2   4
 

Definition at line 339 of file include.h.

Referenced by closePacket(), getPacket(), openCard(), openPacket(), selectChannel(), and shutCard().

#define PCAP_VIRTUAL_CARD   5
 

Definition at line 340 of file include.h.

Referenced by closePacket(), getPacket(), openCard(), openPacket(), selectChannel(), and shutCard().

#define HOSTAP_CARD   6
 

Definition at line 341 of file include.h.

Referenced by closePacket(), getPacket(), openCard(), openPacket(), ParseCommandLine(), selectChannel(), and shutCard().

#define CISCO_CVS_CARD   7
 

Definition at line 342 of file include.h.

Referenced by closePacket(), DispConf(), getPacket(), main(), openCard(), openCardCISCO(), openPacket(), ParseCommandLine(), selectChannel(), shutCard(), and shutCardCISCO().

#define ATHEROS_CARD   8
 

Definition at line 343 of file include.h.

Referenced by closePacket(), getPacket(), openCard(), openPacket(), ParseCommandLine(), selectChannel(), and shutCard().

#define PRISM54G_CARD   9
 

Definition at line 344 of file include.h.

Referenced by closePacket(), getPacket(), openCard(), openPacket(), ParseCommandLine(), selectChannel(), and shutCard().

#define phytype_fhss_dot11_97   1
 

Definition at line 347 of file include.h.

#define phytype_dsss_dot11_97   2
 

Definition at line 348 of file include.h.

#define phytype_irbaseband   3
 

Definition at line 349 of file include.h.

#define phytype_dsss_dot11_b   4
 

Definition at line 350 of file include.h.

Referenced by getPacketATHEROS(), getPacketHERMES(), getPacketHOSTAP(), and getPacketWLAN().

#define phytype_pbcc_dot11_b   5
 

Definition at line 351 of file include.h.

#define phytype_ofdm_dot11_g   6
 

Definition at line 352 of file include.h.

#define phytype_pbcc_dot11_g   7
 

Definition at line 353 of file include.h.

#define phytype_ofdm_dot11_a   8
 

Definition at line 354 of file include.h.

#define WLAN_ETHADDR_LEN   6
 

Definition at line 361 of file include.h.

#define WLAN_IEEE_OUI_LEN   3
 

Definition at line 362 of file include.h.

#define WLAN_ETHCONV_ENCAP   1
 

Definition at line 364 of file include.h.

#define WLAN_ETHCONV_RFC1042   2
 

Definition at line 365 of file include.h.

#define WLAN_ETHCONV_8021h   3
 

Definition at line 366 of file include.h.

#define WLAN_MIN_ETHFRM_LEN   60
 

Definition at line 368 of file include.h.

#define WLAN_MAX_ETHFRM_LEN   1514
 

Definition at line 369 of file include.h.

#define WLAN_ETHHDR_LEN   14
 

Definition at line 370 of file include.h.

#define WLAN_SSID_MAXLEN   32
 

Definition at line 372 of file include.h.

#define P80211CAPTURE_VERSION   0x80211001
 

Definition at line 376 of file include.h.


Typedef Documentation

typedef struct p80211_caphdr p80211_caphdr_t
 

Frame capture header. (See doc/capturefrm.txt)

typedef struct CaptureArg_t CaptureArg
 

Capture Frame for Linux-WLAN-NG


Generated on Fri Feb 25 12:02:54 2005 for WifiScanner by  doxygen 1.4.1