Wireshark 4.5.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
26extern int proto_eapol;
27
28#define EAPOL_KEY_FRAME_KEY 0
29typedef struct {
30 unsigned len;
31 uint8_t type; /* eapol.keydes.type */
32 uint8_t *data;
34
35#endif /* __PACKET_EAPOL_H__ */
36
37/*
38 * Editor modelines - https://www.wireshark.org/tools/modelines.html
39 *
40 * Local variables:
41 * c-basic-offset: 4
42 * tab-width: 8
43 * indent-tabs-mode: nil
44 * End:
45 *
46 * vi: set shiftwidth=4 tabstop=8 expandtab:
47 * :indentSize=4:tabSize=8:noTabs=true:
48 */
Definition packet-eapol.h:29