wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Data Fields
eap_sm Struct Reference

EAP state machine data. More...

#include <eap_i.h>

Public Types

enum  {
  EAP_INITIALIZE, EAP_DISABLED, EAP_IDLE, EAP_RECEIVED,
  EAP_GET_METHOD, EAP_METHOD, EAP_SEND_RESPONSE, EAP_DISCARD,
  EAP_IDENTITY, EAP_NOTIFICATION, EAP_RETRANSMIT, EAP_SUCCESS,
  EAP_FAILURE
}
 
enum  {
  EAP_DISABLED, EAP_INITIALIZE, EAP_IDLE, EAP_RECEIVED,
  EAP_INTEGRITY_CHECK, EAP_METHOD_RESPONSE, EAP_METHOD_REQUEST, EAP_PROPOSE_METHOD,
  EAP_SELECT_ACTION, EAP_SEND_REQUEST, EAP_DISCARD, EAP_NAK,
  EAP_RETRANSMIT, EAP_SUCCESS, EAP_FAILURE, EAP_TIMEOUT_FAILURE,
  EAP_PICK_UP_METHOD, EAP_INITIALIZE_PASSTHROUGH, EAP_IDLE2, EAP_RETRANSMIT2,
  EAP_RECEIVED2, EAP_DISCARD2, EAP_SEND_REQUEST2, EAP_AAA_REQUEST,
  EAP_AAA_RESPONSE, EAP_AAA_IDLE, EAP_TIMEOUT_FAILURE2, EAP_FAILURE2,
  EAP_SUCCESS2, EAP_INITIATE_REAUTH_START, EAP_INITIATE_RECEIVED
}
 
enum  { METHOD_PROPOSED, METHOD_CONTINUE, METHOD_END }
 
enum  {
  DECISION_SUCCESS, DECISION_FAILURE, DECISION_CONTINUE, DECISION_PASSTHROUGH,
  DECISION_INITIATE_REAUTH_START
}
 
enum  { METHOD_PENDING_NONE, METHOD_PENDING_WAIT, METHOD_PENDING_CONT }
 
enum  { NO_PROV, ANON_PROV, AUTH_PROV, BOTH_PROV }
 

Data Fields

enum eap_sm:: { ... }  EAP_state
 
EapType selectedMethod
 
EapMethodState methodState
 
int lastId
 
struct wpabuflastRespData
 
EapDecision decision
 
Boolean rxReq
 
Boolean rxSuccess
 
Boolean rxFailure
 
int reqId
 
EapType reqMethod
 
int reqVendor
 
u32 reqVendorMethod
 
Boolean ignore
 
int ClientTimeout
 
Boolean allowNotifications
 
struct wpabufeapRespData
 
Boolean eapKeyAvailable
 
u8 * eapKeyData
 
size_t eapKeyDataLen
 
u8 * eapSessionId
 
size_t eapSessionIdLen
 
const struct eap_methodm
 
Boolean changed
 
void * eapol_ctx
 
const struct eapol_callbackseapol_cb
 
void * eap_method_priv
 
int init_phase2
 
int fast_reauth
 
Boolean reauthInit
 
u32 erp_seq
 
Boolean rxResp
 
Boolean leap_done
 
Boolean peap_done
 
u8 req_sha1 [20]
 
u8 last_sha1 [20]
 
void * msg_ctx
 
void * scard_ctx
 
void * ssl_ctx
 
void * ssl_ctx2
 
unsigned int workaround
 
u8 * peer_challenge
 
u8 * auth_challenge
 
int num_rounds
 
int force_disabled
 
struct wps_contextwps
 
int prev_failure
 
struct eap_peer_configlast_config
 
struct ext_password_dataext_pw
 
struct wpabufext_pw_buf
 
int external_sim
 
unsigned int expected_failure:1
 
struct dl_list erp_keys
 
enum eap_sm:: { ... }  EAP_state
 
int MaxRetrans
 
struct eap_eapol_interface eap_if
 
EapType currentMethod
 
int currentId
 
enum eap_sm:: { ... }  methodState
 
int retransCount
 
struct wpabuflastReqData
 
int methodTimeout
 
Boolean rxInitiate
 
int respId
 
EapType respMethod
 
int respVendor
 
u32 respVendorMethod
 
enum eap_sm:: { ... }  decision
 
u8 * identity
 
size_t identity_len
 
int require_identity_match
 
struct eap_useruser
 
int user_eap_method_index
 
struct eap_sim_db_dataeap_sim_db_priv
 
Boolean backend_auth
 
Boolean update_user
 
int eap_server
 
enum eap_sm:: { ... }  method_pending
 
u8 * pac_opaque_encr_key
 
u8 * eap_fast_a_id
 
size_t eap_fast_a_id_len
 
char * eap_fast_a_id_info
 
enum eap_sm:: { ... }  eap_fast_prov
 
int pac_key_lifetime
 
int pac_key_refresh_time
 
int eap_sim_aka_result_ind
 
int tnc
 
u16 pwd_group
 
struct wpabufassoc_wps_ie
 
struct wpabufassoc_p2p_ie
 
Boolean start_reauth
 
u8 peer_addr [ETH_ALEN]
 
int fragment_size
 
int pbc_in_m1
 
const u8 * server_id
 
size_t server_id_len
 
Boolean initiate_reauth_start_sent
 
Boolean try_initiate_reauth
 
int erp
 
unsigned int tls_session_lifetime
 

Detailed Description

EAP state machine data.

EAP server state machine data.


The documentation for this struct was generated from the following file: