|
Data Structures |
struct | _AirpcapDeviceDescription |
| Entry in the list returned by AirpcapGetDeviceList();. More...
|
struct | _AirpcapKey |
| WEP key container. More...
|
struct | _AirpcapMacAddress |
| Storage for a MAC address. More...
|
struct | _AirpcapKeysCollection |
| This structure is used to store a collection of WEP keys. Note that the definition of the structure doesn't contain any key, so be careful to allocate a buffer with the size of the key, like in the following example:. More...
|
struct | _AirpcapBpfHeader |
| Packet header. More...
|
struct | _AirpcapStats |
| Capture statistics. Returned by AirpcapGetStats();. More...
|
Defines |
#define | AIRPCAP_DEVICE_NAME_PREFIX "\\\\.\\airpcap" |
| This string is the fixed prefix in the airpcap adapter name. It can be used to parse the name field in an AirpcapDeviceDescription structure.
|
#define | AIRPCAP_DEVICE_NUMBER_EXTRACT_STRING "\\\\.\\airpcap%u" |
| This string is the scanf modifier to extract the adapter number from an adapter name. It can be used to parse the name field in an AirpcapDeviceDescription structure with scanf.
|
#define | WEP_KEY_MAX_SIZE 32 |
| AirpcapWepKeysCollection structure.
|
#define | AIRPCAP_KEYTYPE_WEP 0 |
| Key type: WEP. The key can have an arbitrary length smaller than 32 bytes.
|
#define | AIRPCAP_KEYTYPE_TKIP 1 |
| Key type: TKIP (WPA). NOT SUPPORTED YET.
|
#define | AIRPCAP_KEYTYPE_CCMP 2 |
| Key type: CCMP (WPA2). NOT SUPPORTED YET.
|
#define | AIRPCAP_ALIGNMENT sizeof(int) |
| Helper macros to extract packets coming from the driver. Rounds up to the next even multiple of AIRPCAP_ALIGNMENT.
|
#define | AIRPCAP_WORDALIGN(x) (((x)+(AIRPCAP_ALIGNMENT-1))&~(AIRPCAP_ALIGNMENT-1)) |
#define | AIRPCAP_ERRBUF_SIZE 512 |
| Size of the error buffer, in bytes.
|
#define | AIRPCAP_HANDLE__EAE405F5_0171_9592_B3C2_C19EC426AD34__DEFINED_ |
Typedefs |
typedef _AirpcapDeviceDescription | AirpcapDeviceDescription |
| Entry in the list returned by AirpcapGetDeviceList();.
|
typedef _AirpcapDeviceDescription * | PAirpcapDeviceDescription |
| Entry in the list returned by AirpcapGetDeviceList();.
|
typedef _AirpcapKey | AirpcapKey |
| WEP key container.
|
typedef _AirpcapKey * | PAirpcapKey |
| WEP key container.
|
typedef enum _AirpcapValidationType | AirpcapValidationType |
| Type of frame validation the adapter performs. An adapter can be instructed to accept different kind of frames: correct frames only, frames with wrong Frame Check Sequence (FCS) only, all frames.
|
typedef enum _AirpcapValidationType * | PAirpcapValidationType |
| Type of frame validation the adapter performs. An adapter can be instructed to accept different kind of frames: correct frames only, frames with wrong Frame Check Sequence (FCS) only, all frames.
|
typedef enum _AirpcapDecryptionState | AirpcapDecryptionState |
| Type of decryption the adapter performs. An adapter can be instructed to turn decryption (based on the device-configured keys configured with AirpcapSetDeviceKeys()) on or off.
|
typedef enum _AirpcapDecryptionState * | PAirpcapDecryptionState |
| Type of decryption the adapter performs. An adapter can be instructed to turn decryption (based on the device-configured keys configured with AirpcapSetDeviceKeys()) on or off.
|
typedef _AirpcapMacAddress | AirpcapMacAddress |
| Storage for a MAC address.
|
typedef _AirpcapMacAddress * | PAirpcapMacAddress |
| Storage for a MAC address.
|
typedef _AirpcapKeysCollection | AirpcapKeysCollection |
| This structure is used to store a collection of WEP keys. Note that the definition of the structure doesn't contain any key, so be careful to allocate a buffer with the size of the key, like in the following example:.
|
typedef _AirpcapKeysCollection * | PAirpcapKeysCollection |
| This structure is used to store a collection of WEP keys. Note that the definition of the structure doesn't contain any key, so be careful to allocate a buffer with the size of the key, like in the following example:.
|
typedef _AirpcapBpfHeader | AirpcapBpfHeader |
| Packet header.
|
typedef _AirpcapBpfHeader * | PAirpcapBpfHeader |
| Packet header.
|
typedef enum _AirpcapLinkType | AirpcapLinkType |
| Link type. AirPcap supports two kind of 802.11 linktypes: plain 802.11 and radiotap.
|
typedef enum _AirpcapLinkType * | PAirpcapLinkType |
| Link type. AirPcap supports two kind of 802.11 linktypes: plain 802.11 and radiotap.
|
typedef _AirpcapHandle AirpcapHandle * | PAirpcapHandle |
| Adapter handle.
|
typedef _AirpcapStats | AirpcapStats |
| Capture statistics. Returned by AirpcapGetStats();.
|
typedef _AirpcapStats * | PAirpcapStats |
| Capture statistics. Returned by AirpcapGetStats();.
|
Enumerations |
enum | _AirpcapValidationType { AIRPCAP_VT_ACCEPT_EVERYTHING = 1,
AIRPCAP_VT_ACCEPT_CORRECT_FRAMES = 2,
AIRPCAP_VT_ACCEPT_CORRUPT_FRAMES = 3,
AIRPCAP_VT_UNKNOWN = 4
} |
| Type of frame validation the adapter performs. An adapter can be instructed to accept different kind of frames: correct frames only, frames with wrong Frame Check Sequence (FCS) only, all frames. More...
|
enum | _AirpcapDecryptionState { AIRPCAP_DECRYPTION_ON = 1,
AIRPCAP_DECRYPTION_OFF = 2
} |
| Type of decryption the adapter performs. An adapter can be instructed to turn decryption (based on the device-configured keys configured with AirpcapSetDeviceKeys()) on or off. More...
|
enum | _AirpcapLinkType { AIRPCAP_LT_802_11 = 1,
AIRPCAP_LT_802_11_PLUS_RADIO = 2,
AIRPCAP_LT_UNKNOWN = 3
} |
| Link type. AirPcap supports two kind of 802.11 linktypes: plain 802.11 and radiotap. More...
|