Logo Search packages:      
Sourcecode: wireshark version File versions

_AirpcapKeysCollection Struct Reference
[AirPcap definitions and data structures]

#include <airpcap.h>

List of all members.

Detailed Description

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

      PAirpcapKeysCollection KeysCollection;
      UINT KeysCollectionSize;

      KeysCollectionSize = sizeof(AirpcapKeysCollection) + NumKeys * sizeof(AirpcapKey);

      KeysCollection = (PAirpcapKeysCollection)malloc(KeysCollectionSize);

Definition at line 182 of file airpcap.h.

Public Attributes

AirpcapKey Keys [0]
 Array of nKeys keys.
UINT nKeys
 Number of keys in the collection.

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

Generated by  Doxygen 1.6.0   Back to index