Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

eap.h
1 /* eap.h
2 * Extenal definitions for EAP Extensible Authentication Protocol dissection
3 * RFC 2284, RFC 3748
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 __EAP_H__
13 #define __EAP_H__
14
15 #include "ws_symbol_export.h"
16 #include "value_string.h"
17
18 /* http://www.iana.org/assignments/eap-numbers */
19 #define EAP_REQUEST 1
20 #define EAP_RESPONSE 2
21 #define EAP_SUCCESS 3
22 #define EAP_FAILURE 4
23 #define EAP_INITIATE 5 /* [RFC5296] */
24 #define EAP_FINISH 6 /* [RFC5296] */
25
26 WS_DLL_PUBLIC const value_string eap_code_vals[];
27
28 #define EAP_TYPE_ID 1
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
42
43 WS_DLL_PUBLIC value_string_ext eap_type_vals_ext;
44
45 #define SIM_START 10
46 #define SIM_CHALLENGE 11
47 #define SIM_NOTIFICATION 12
48 #define SIM_RE_AUTHENTICATION 13
49 #define SIM_CLIENT_ERROR 14
50
51 WS_DLL_PUBLIC const value_string eap_sim_subtype_vals[];
52
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
60
61 WS_DLL_PUBLIC const value_string eap_aka_subtype_vals[];
62
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
68
69 WS_DLL_PUBLIC const value_string eap_ms_chap_v2_opcode_vals[];
70
71 #endif
_value_string
Definition: value_string.h:24
_value_string_ext
Definition: value_string.h:164