Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
eap.h
Go to the documentation of this file.
1
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
26WS_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_MSAUTH_TLV 33
40#define EAP_TYPE_FAST 43
41#define EAP_TYPE_PAX 46
42#define EAP_TYPE_PSK 47
43#define EAP_TYPE_SAKE 48
44#define EAP_TYPE_IKEV2 49
45#define EAP_TYPE_AKA_PRIME 50
46#define EAP_TYPE_GPSK 51
47#define EAP_TYPE_TEAP 55
48#define EAP_TYPE_EXT 254
49
50WS_DLL_PUBLIC value_string_ext eap_type_vals_ext;
51
52#define SIM_START 10
53#define SIM_CHALLENGE 11
54#define SIM_NOTIFICATION 12
55#define SIM_RE_AUTHENTICATION 13
56#define SIM_CLIENT_ERROR 14
57
58WS_DLL_PUBLIC const value_string eap_sim_subtype_vals[];
59
60#define AKA_CHALLENGE 1
61#define AKA_AUTHENTICATION_REJECT 2
62#define AKA_SYNCHRONIZATION_FAILURE 4
63#define AKA_IDENTITY 5
64#define AKA_NOTIFICATION 12
65#define AKA_REAUTHENTICATION 13
66#define AKA_CLIENT_ERROR 14
67
68WS_DLL_PUBLIC const value_string eap_aka_subtype_vals[];
69
70#define MS_CHAP_V2_CHALLENGE 1
71#define MS_CHAP_V2_RESPONSE 2
72#define MS_CHAP_V2_SUCCESS 3
73#define MS_CHAP_V2_FAILURE 4
74#define MS_CHAP_V2_CHANGE_PASSWORD 7
75
76WS_DLL_PUBLIC const value_string eap_ms_chap_v2_opcode_vals[];
77
78typedef enum {
79 PROTO_DATA_EAP_DUPLICATE_ID,
80 PROTO_DATA_EAP_FRAME_STATE,
81 PROTO_DATA_EAP_TVB,
82} proto_data_eap;
83
84typedef struct _eap_vendor_context {
85 uint32_t vendor_type;
86 uint32_t vendor_id;
87 uint8_t eap_code;
88 uint8_t eap_identifier;
90
91#endif
Definition eap.h:84
Definition value_string.h:169
Definition value_string.h:25