![Bill Meier](/assets/img/avatar_default.png)
- Use/create extended value strings as appropriate; - Reformat hf[] entries; - Do whitespace, & etc changes to use a consistent formatting style; - Reformat some long lines; - Localize some variables; remove some unneeded initializers; - expert...() shouldnt be called under 'if (tree)' (packet-wimaxasncp); - Move proto_register...() & etc to the end of the file (packet-ieee80211); - Misc. svn path=/trunk/; revision=46489
83 lines
2.4 KiB
C
83 lines
2.4 KiB
C
/* eap.h
|
|
* Extenal definitions for EAP Extensible Authentication Protocol dissection
|
|
* RFC 2284, RFC 3748
|
|
*
|
|
* $Id$
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef __EAP_H__
|
|
#define __EAP_H__
|
|
|
|
/* http://www.iana.org/assignments/eap-numbers */
|
|
#define EAP_REQUEST 1
|
|
#define EAP_RESPONSE 2
|
|
#define EAP_SUCCESS 3
|
|
#define EAP_FAILURE 4
|
|
#define EAP_INITIATE 5 /* [RFC5296] */
|
|
#define EAP_FINISH 6 /* [RFC5296] */
|
|
|
|
WS_VAR_IMPORT const value_string eap_code_vals[];
|
|
|
|
#define EAP_TYPE_ID 1
|
|
#define EAP_TYPE_NOTIFY 2
|
|
#define EAP_TYPE_NAK 3
|
|
#define EAP_TYPE_MD5 4
|
|
#define EAP_TYPE_TLS 13
|
|
#define EAP_TYPE_LEAP 17
|
|
#define EAP_TYPE_SIM 18
|
|
#define EAP_TYPE_TTLS 21
|
|
#define EAP_TYPE_AKA 23
|
|
#define EAP_TYPE_PEAP 25
|
|
#define EAP_TYPE_MSCHAPV2 26
|
|
#define EAP_TYPE_FAST 43
|
|
#define EAP_TYPE_AKA_PRIME 50
|
|
#define EAP_TYPE_EXT 254
|
|
|
|
WS_VAR_IMPORT value_string_ext eap_type_vals_ext;
|
|
|
|
#define SIM_START 10
|
|
#define SIM_CHALLENGE 11
|
|
#define SIM_NOTIFICATION 12
|
|
#define SIM_RE_AUTHENTICATION 13
|
|
#define SIM_CLIENT_ERROR 14
|
|
|
|
WS_VAR_IMPORT const value_string eap_sim_subtype_vals[];
|
|
|
|
#define AKA_CHALLENGE 1
|
|
#define AKA_AUTHENTICATION_REJECT 2
|
|
#define AKA_SYNCHRONIZATION_FAILURE 4
|
|
#define AKA_IDENTITY 5
|
|
#define AKA_NOTIFICATION 12
|
|
#define AKA_REAUTHENTICATION 13
|
|
#define AKA_CLIENT_ERROR 14
|
|
|
|
WS_VAR_IMPORT const value_string eap_aka_subtype_vals[];
|
|
|
|
#define MS_CHAP_V2_CHALLENGE 1
|
|
#define MS_CHAP_V2_RESPONSE 2
|
|
#define MS_CHAP_V2_SUCCESS 3
|
|
#define MS_CHAP_V2_FAILURE 4
|
|
#define MS_CHAP_V2_CHANGE_PASSWORD 7
|
|
|
|
WS_VAR_IMPORT const value_string eap_ms_chap_v2_opcode_vals[];
|
|
|
|
#endif
|