Wireshark
4.3.0
The Wireshark network protocol analyzer
|
Modules | |
AirPcap functions | |
Classes | |
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 has one key in it (so that this code can be compiled by compilers that don't support zero-length arrays), so be careful to allocate a buffer with the size of the set of keys, as per the following example: More... | |
struct | _AirpcapBpfHeader |
Packet header. More... | |
struct | _AirpcapStats |
Capture statistics. Returned by AirpcapGetStats();. More... | |
struct | _AirpcapChannelInfo |
Channel information. Used by AirpcapSetDeviceChannelEx(), AirpcapGetDeviceChannelEx(), AirpcapGetDeviceSupportedChannels() More... | |
Macros | |
#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 | AIRPCAP_DEVICE_ANY_EXTRACT_STRING "\\\\.\\airpcap_any" |
#define | MAX_ENCRYPTION_KEYS 64 |
#define | WEP_KEY_MAX_SIZE |
#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 | AirpcapKeysCollectionSize(nKeys) ((sizeof(AirpcapKeysCollection) - sizeof(AirpcapKey)) + ((nKeys) * sizeof(AirpcapKey))) |
#define | AirpcapKeysCollectionSizeToKeyCount(size) (unsigned)(((size) - AirpcapKeysCollectionSize(0))/sizeof(AirpcapKey)) |
#define | AIRPCAP_ALIGNMENT sizeof(int) |
#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 struct _AirpcapDeviceDescription | AirpcapDeviceDescription |
Entry in the list returned by AirpcapGetDeviceList();. | |
typedef struct _AirpcapDeviceDescription * | PAirpcapDeviceDescription |
typedef struct _AirpcapKey | AirpcapKey |
WEP key container. | |
typedef struct _AirpcapKey * | PAirpcapKey |
typedef enum _AirpcapChannelBand | AirpcapChannelBand |
frequency Band. 802.11 adapters can support different frequency bands, the most important of which are: 2.4GHz (802.11b/g/n) and 5GHz (802.11a/n). | |
typedef enum _AirpcapChannelBand * | PAirpcapChannelBand |
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 |
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 |
typedef struct _AirpcapMacAddress | AirpcapMacAddress |
Storage for a MAC address. | |
typedef struct _AirpcapMacAddress * | PAirpcapMacAddress |
typedef struct _AirpcapKeysCollection | AirpcapKeysCollection |
This structure is used to store a collection of WEP keys. Note that the definition of the structure has one key in it (so that this code can be compiled by compilers that don't support zero-length arrays), so be careful to allocate a buffer with the size of the set of keys, as per the following example: More... | |
typedef struct _AirpcapKeysCollection * | PAirpcapKeysCollection |
typedef struct _AirpcapBpfHeader | AirpcapBpfHeader |
Packet header. More... | |
typedef struct _AirpcapBpfHeader * | PAirpcapBpfHeader |
typedef enum _AirpcapLinkType | AirpcapLinkType |
Link type. AirPcap supports two kind of 802.11 linktypes: plain 802.11 and radiotap. | |
typedef enum _AirpcapLinkType * | PAirpcapLinkType |
typedef struct _AirpcapHandle | AirpcapHandle |
Adapter handle. | |
typedef struct _AirpcapHandle * | PAirpcapHandle |
typedef struct _AirpcapStats | AirpcapStats |
Capture statistics. Returned by AirpcapGetStats();. | |
typedef struct _AirpcapStats * | PAirpcapStats |
typedef struct _AirpcapChannelInfo | AirpcapChannelInfo |
Channel information. Used by AirpcapSetDeviceChannelEx(), AirpcapGetDeviceChannelEx(), AirpcapGetDeviceSupportedChannels() | |
typedef struct _AirpcapChannelInfo * | PAirpcapChannelInfo |
Enumerations | |
enum | _AirpcapChannelBand { AIRPCAP_CB_AUTO = 1 , AIRPCAP_CB_2_4_GHZ = 2 , AIRPCAP_CB_4_GHZ = 4 , AIRPCAP_CB_5_GHZ = 5 } |
frequency Band. 802.11 adapters can support different frequency bands, the most important of which are: 2.4GHz (802.11b/g/n) and 5GHz (802.11a/n). | |
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. | |
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. | |
enum | _AirpcapLinkType { AIRPCAP_LT_802_11 = 1 , AIRPCAP_LT_802_11_PLUS_RADIO = 2 , AIRPCAP_LT_UNKNOWN = 3 , AIRPCAP_LT_802_11_PLUS_PPI = 4 } |
Link type. AirPcap supports two kind of 802.11 linktypes: plain 802.11 and radiotap. | |
#define WEP_KEY_MAX_SIZE |
typedef struct _AirpcapBpfHeader AirpcapBpfHeader |
Packet header.
This structure defines the BPF that precedes every packet delivered to the application.
typedef struct _AirpcapKeysCollection AirpcapKeysCollection |
This structure is used to store a collection of WEP keys. Note that the definition of the structure has one key in it (so that this code can be compiled by compilers that don't support zero-length arrays), so be careful to allocate a buffer with the size of the set of keys, as per the following example: