Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Public Attributes | List of all members
_AirpcapKeysCollection Struct Reference

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: