Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
_AirpcapKeysCollection Struct Reference
AirPcap definitions and data structures

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...

`#include <airpcap.h>`

## Public Attributes
guint | nKeys
AirpcapKey | Keys [1]

## Detailed Description

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:

PAirpcapKeysCollection KeysCollection;
guint KeysCollectionSize;
KeysCollectionSize = AirpcapKeysCollectionSize(NumKeys);
KeysCollection = (PAirpcapKeysCollection)malloc(KeysCollectionSize);
if(!KeysCollection)
{
Error
}

The documentation for this struct was generated from the following file:

- /home/wireshark/builders/wireshark-master/ubuntu-16.04-x64/build/caputils/airpcap.h