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