Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-eapol.h
blob3020d6bd074e6d6e4279edb420444b0bb22561bd
1 /* packet-eapol.h
2 * Common definitions for EAPOL protocol.
3 * Copyright 2016, Ethan Young <imfargo@gmail.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_EAPOL_H__
13 #define __PACKET_EAPOL_H__
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
26 extern int proto_eapol;
28 #define EAPOL_KEY_FRAME_KEY 0
29 typedef struct {
30 unsigned len;
31 uint8_t type; /* eapol.keydes.type */
32 uint8_t *data;
33 } proto_eapol_key_frame_t;
35 #endif /* __PACKET_EAPOL_H__ */
38 * Editor modelines - https://www.wireshark.org/tools/modelines.html
40 * Local variables:
41 * c-basic-offset: 4
42 * tab-width: 8
43 * indent-tabs-mode: nil
44 * End:
46 * vi: set shiftwidth=4 tabstop=8 expandtab:
47 * :indentSize=4:tabSize=8:noTabs=true: