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 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 #include "ws_symbol_export.h"
28 #include "value_string.h"
30 /* http://www.iana.org/assignments/eap-numbers */
32 #define EAP_RESPONSE 2
35 #define EAP_INITIATE 5 /* [RFC5296] */
36 #define EAP_FINISH 6 /* [RFC5296] */
38 WS_DLL_PUBLIC const value_string eap_code_vals[];
41 #define EAP_TYPE_NOTIFY 2
42 #define EAP_TYPE_NAK 3
43 #define EAP_TYPE_MD5 4
44 #define EAP_TYPE_TLS 13
45 #define EAP_TYPE_LEAP 17
46 #define EAP_TYPE_SIM 18
47 #define EAP_TYPE_TTLS 21
48 #define EAP_TYPE_AKA 23
49 #define EAP_TYPE_PEAP 25
50 #define EAP_TYPE_MSCHAPV2 26
51 #define EAP_TYPE_FAST 43
52 #define EAP_TYPE_AKA_PRIME 50
53 #define EAP_TYPE_EXT 254
55 WS_DLL_PUBLIC value_string_ext eap_type_vals_ext;
58 #define SIM_CHALLENGE 11
59 #define SIM_NOTIFICATION 12
60 #define SIM_RE_AUTHENTICATION 13
61 #define SIM_CLIENT_ERROR 14
63 WS_DLL_PUBLIC const value_string eap_sim_subtype_vals[];
65 #define AKA_CHALLENGE 1
66 #define AKA_AUTHENTICATION_REJECT 2
67 #define AKA_SYNCHRONIZATION_FAILURE 4
68 #define AKA_IDENTITY 5
69 #define AKA_NOTIFICATION 12
70 #define AKA_REAUTHENTICATION 13
71 #define AKA_CLIENT_ERROR 14
73 WS_DLL_PUBLIC const value_string eap_aka_subtype_vals[];
75 #define MS_CHAP_V2_CHALLENGE 1
76 #define MS_CHAP_V2_RESPONSE 2
77 #define MS_CHAP_V2_SUCCESS 3
78 #define MS_CHAP_V2_FAILURE 4
79 #define MS_CHAP_V2_CHANGE_PASSWORD 7
81 WS_DLL_PUBLIC const value_string eap_ms_chap_v2_opcode_vals[];