Wireshark 4.5.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Classes | |
struct | _DOT11DECRYPT_MAC_FRAME |
struct | _DOT11DECRYPT_MAC_FRAME_ADDR4 |
struct | _DOT11DECRYPT_MAC_FRAME_QOS |
struct | _DOT11DECRYPT_MAC_FRAME_ADDR4_QOS |
Macros | |
#define | DOT11DECRYPT_TYPE_MANAGEMENT 0 |
#define | DOT11DECRYPT_TYPE_CONTROL 1 |
#define | DOT11DECRYPT_TYPE_DATA 2 |
#define | DOT11DECRYPT_SUBTYPE_ASSOC_REQ 0 |
#define | DOT11DECRYPT_SUBTYPE_ASSOC_RESP 1 |
#define | DOT11DECRYPT_SUBTYPE_REASSOC_REQ 2 |
#define | DOT11DECRYPT_SUBTYPE_REASSOC_RESP 3 |
#define | DOT11DECRYPT_SUBTYPE_PROBE_REQ 4 |
#define | DOT11DECRYPT_SUBTYPE_PROBE_RESP 5 |
#define | DOT11DECRYPT_SUBTYPE_MEASUREMENT_PILOT 6 |
#define | DOT11DECRYPT_SUBTYPE_BEACON 8 |
#define | DOT11DECRYPT_SUBTYPE_ATIM 9 |
#define | DOT11DECRYPT_SUBTYPE_DISASS 10 |
#define | DOT11DECRYPT_SUBTYPE_AUTHENTICATION 11 |
#define | DOT11DECRYPT_SUBTYPE_DEAUTHENTICATION 12 |
#define | DOT11DECRYPT_SUBTYPE_ACTION 13 |
#define | DOT11DECRYPT_SUBTYPE_ACTION_NO_ACK 14 |
#define | DOT11DECRYPT_CIPHER_USE_GROUP 0 |
#define | DOT11DECRYPT_CIPHER_WEP40 1 |
#define | DOT11DECRYPT_CIPHER_TKIP 2 |
#define | DOT11DECRYPT_CIPHER_CCMP 4 |
#define | DOT11DECRYPT_CIPHER_WEP104 5 |
#define | DOT11DECRYPT_CIPHER_BIP_CMAC 6 |
#define | DOT11DECRYPT_CIPHER_GROUP_NA 7 |
#define | DOT11DECRYPT_CIPHER_GCMP 8 |
#define | DOT11DECRYPT_CIPHER_GCMP256 9 |
#define | DOT11DECRYPT_CIPHER_CCMP256 10 |
#define | DOT11DECRYPT_CIPHER_BIP_GMAC 11 |
#define | DOT11DECRYPT_CIPHER_BIP_GMAC256 12 |
#define | DOT11DECRYPT_CIPHER_BIP_CMAC256 13 |
#define | DOT11DECRYPT_CRYPTED_DATA_MINLEN 17 |
#define | DOT11DECRYPT_TA_OFFSET 10 |
#define | DOT11DECRYPT_TYPE(FrameControl_0) (uint8_t)((FrameControl_0 >> 2) & 0x3) |
#define | DOT11DECRYPT_SUBTYPE(FrameControl_0) (uint8_t)((FrameControl_0 >> 4) & 0xF) |
#define | DOT11DECRYPT_DS_BITS(FrameControl_1) (uint8_t)(FrameControl_1 & 0x3) |
#define | DOT11DECRYPT_TO_DS(FrameControl_1) (uint8_t)(FrameControl_1 & 0x1) |
#define | DOT11DECRYPT_FROM_DS(FrameControl_1) (uint8_t)((FrameControl_1 >> 1) & 0x1) |
#define | DOT11DECRYPT_WEP(FrameControl_1) (uint8_t)((FrameControl_1 >> 6) & 0x1) |
#define | DOT11DECRYPT_EXTIV(KeyID) ((KeyID >> 5) & 0x1) |
#define | DOT11DECRYPT_KEY_INDEX(KeyID) ((KeyID >> 6) & 0x3) /** Used to determine TKIP group key from unicast (group = 1, unicast = 0) */ |
#define | DOT11DECRYPT_EAP_KEY_DESCR_VER(KeyInfo_1) ((unsigned char)(KeyInfo_1 & 0x3)) |
#define | DOT11DECRYPT_EAP_KEY(KeyInfo_1) ((KeyInfo_1 >> 3) & 0x1) |
#define | DOT11DECRYPT_EAP_INST(KeyInfo_1) ((KeyInfo_1 >> 6) & 0x1) |
#define | DOT11DECRYPT_EAP_ACK(KeyInfo_1) ((KeyInfo_1 >> 7) & 0x1) |
#define | DOT11DECRYPT_EAP_MIC(KeyInfo_0) (KeyInfo_0 & 0x1) |
#define | DOT11DECRYPT_EAP_SEC(KeyInfo_0) ((KeyInfo_0 >> 1) & 0x1) |
#define | DOT11DECRYPT_FC1_DIR_MASK 0x03 |
#define | DOT11DECRYPT_FC1_DIR_DSTODS 0x03 /* AP ->AP */ |
#define | DOT11DECRYPT_FC0_SUBTYPE_QOS 0x80 |
#define | DOT11DECRYPT_FC0_TYPE_DATA 0x08 |
#define | DOT11DECRYPT_FC0_TYPE_MASK 0x0c |
#define | DOT11DECRYPT_SEQ_FRAG_MASK 0x000f |
#define | DOT11DECRYPT_QOS_HAS_SEQ(wh) |
#define | DOT11DECRYPT_ADDR_COPY(dst, src) memcpy(dst, src, DOT11DECRYPT_MAC_LEN) |
#define | DOT11DECRYPT_IS_4ADDRESS(wh) ((wh->fc[1] & DOT11DECRYPT_FC1_DIR_MASK) == DOT11DECRYPT_FC1_DIR_DSTODS) |
#define | DOT11DECRYPT_IS_QOS_DATA(wh) DOT11DECRYPT_QOS_HAS_SEQ(wh) |
Typedefs | |
typedef struct _DOT11DECRYPT_MAC_FRAME | DOT11DECRYPT_MAC_FRAME |
typedef struct _DOT11DECRYPT_MAC_FRAME * | PDOT11DECRYPT_MAC_FRAME |
typedef struct _DOT11DECRYPT_MAC_FRAME_ADDR4 | DOT11DECRYPT_MAC_FRAME_ADDR4 |
typedef struct _DOT11DECRYPT_MAC_FRAME_ADDR4 * | PDOT11DECRYPT_MAC_FRAME_ADDR4 |
typedef struct _DOT11DECRYPT_MAC_FRAME_QOS | DOT11DECRYPT_MAC_FRAME_QOS |
typedef struct _DOT11DECRYPT_MAC_FRAME_QOS * | PDOT11DECRYPT_MAC_FRAME_QOS |
typedef struct _DOT11DECRYPT_MAC_FRAME_ADDR4_QOS | DOT11DECRYPT_MAC_FRAME_ADDR4_QOS |
typedef struct _DOT11DECRYPT_MAC_FRAME_ADDR4_QOS * | PDOT11DECRYPT_MAC_FRAME_ADDR4_QOS |
Copyright (c) 2006 CACE Technologies, Davis (California) All rights reserved.
SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
#define DOT11DECRYPT_EXTIV | ( | KeyID | ) | ((KeyID >> 5) & 0x1) |
Get the Key ID from the Initialization Vector (last byte)
#define DOT11DECRYPT_QOS_HAS_SEQ | ( | wh | ) |
#define DOT11DECRYPT_TYPE | ( | FrameControl_0 | ) | (uint8_t)((FrameControl_0 >> 2) & 0x3) |
Macros to get various bits of a 802.11 control frame