Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-eapol.h
1/* packet-eapol.h
2 * Common definitions for EAPOL protocol.
3 * Copyright 2016, Ethan Young <[email protected]>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef __PACKET_EAPOL_H__
13#define __PACKET_EAPOL_H__
14
15/* EAPOL packet types. */
16#define EAPOL_EAP 0
17#define EAPOL_START 1
18#define EAPOL_LOGOFF 2
19#define EAPOL_KEY 3
20#define EAPOL_ENCAP_ASF_ALERT 4
21#define EAPOL_MKA 5
22#define EAPOL_ANNOUNCEMENT_GENERIC 6
23#define EAPOL_ANNOUNCEMENT_SPECIFIC 7
24#define EAPOL_ANNOUNCEMENT_REQUEST 8
25
26/* EAPOL Key Descriptor types */
27#define EAPOL_RC4_KEY 1 /* RC4 - deprecated */
28#define EAPOL_RSN_KEY 2 /* 802.11i - "work in progress" */
29#define EAPOL_WPA_KEY 254
30
31#define EAPOL_KEY_FRAME_KEY 0
32typedef struct {
33 unsigned len;
34 uint8_t type; /* eapol.keydes.type */
35 uint8_t *data;
37
38#endif /* __PACKET_EAPOL_H__ */
39
40/*
41 * Editor modelines - https://www.wireshark.org/tools/modelines.html
42 *
43 * Local variables:
44 * c-basic-offset: 4
45 * tab-width: 8
46 * indent-tabs-mode: nil
47 * End:
48 *
49 * vi: set shiftwidth=4 tabstop=8 expandtab:
50 * :indentSize=4:tabSize=8:noTabs=true:
51 */
Definition packet-eapol.h:32