2 * Extenal definitions for EAP Extensible Authentication Protocol dissection
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
15 #include "ws_symbol_export.h"
16 #include "value_string.h"
18 /* http://www.iana.org/assignments/eap-numbers */
20 #define EAP_RESPONSE 2
23 #define EAP_INITIATE 5 /* [RFC5296] */
24 #define EAP_FINISH 6 /* [RFC5296] */
26 WS_DLL_PUBLIC const value_string eap_code_vals[];
29 #define EAP_TYPE_NOTIFY 2
30 #define EAP_TYPE_NAK 3
31 #define EAP_TYPE_MD5 4
32 #define EAP_TYPE_TLS 13
33 #define EAP_TYPE_LEAP 17
34 #define EAP_TYPE_SIM 18
35 #define EAP_TYPE_TTLS 21
36 #define EAP_TYPE_AKA 23
37 #define EAP_TYPE_PEAP 25
38 #define EAP_TYPE_MSCHAPV2 26
39 #define EAP_TYPE_FAST 43
40 #define EAP_TYPE_AKA_PRIME 50
41 #define EAP_TYPE_EXT 254
43 WS_DLL_PUBLIC value_string_ext eap_type_vals_ext;
46 #define SIM_CHALLENGE 11
47 #define SIM_NOTIFICATION 12
48 #define SIM_RE_AUTHENTICATION 13
49 #define SIM_CLIENT_ERROR 14
51 WS_DLL_PUBLIC const value_string eap_sim_subtype_vals[];
53 #define AKA_CHALLENGE 1
54 #define AKA_AUTHENTICATION_REJECT 2
55 #define AKA_SYNCHRONIZATION_FAILURE 4
56 #define AKA_IDENTITY 5
57 #define AKA_NOTIFICATION 12
58 #define AKA_REAUTHENTICATION 13
59 #define AKA_CLIENT_ERROR 14
61 WS_DLL_PUBLIC const value_string eap_aka_subtype_vals[];
63 #define MS_CHAP_V2_CHALLENGE 1
64 #define MS_CHAP_V2_RESPONSE 2
65 #define MS_CHAP_V2_SUCCESS 3
66 #define MS_CHAP_V2_FAILURE 4
67 #define MS_CHAP_V2_CHANGE_PASSWORD 7
69 WS_DLL_PUBLIC const value_string eap_ms_chap_v2_opcode_vals[];