Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-eapol.h
1 /* packet-eapol.h
2  * Common definitions for EAPOL protocol.
3  * Copyright 2016, Ethan Young <imfargo@gmail.com>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
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 extern int proto_eapol;
27 
28 #define EAPOL_KEY_FRAME_KEY 0
29 typedef struct {
30  guint len;
31  guint8 type; /* eapol.keydes.type */
32  guint8 *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