The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Enumerations
eap_sim.h File Reference

Declarations for EAP-SIM. More...

#include <freeradius-devel/sim/base.h>
+ Include dependency graph for eap_sim.h:

Go to the source code of this file.

Data Structures

struct  eap_sim_session_t
 
struct  rlm_eap_sim_t
 

Enumerations

enum  eap_sim_server_state_t {
  EAP_SIM_SERVER_START = 0 ,
  EAP_SIM_SERVER_CHALLENGE ,
  EAP_SIM_SERVER_REAUTHENTICATE ,
  EAP_SIM_SERVER_SUCCESS_NOTIFICATION ,
  EAP_SIM_SERVER_SUCCESS ,
  EAP_SIM_SERVER_FAILURE_NOTIFICATION ,
  EAP_SIM_SERVER_FAILURE ,
  EAP_SIM_SERVER_MAX_STATES
}
 Server states. More...
 

Detailed Description

Declarations for EAP-SIM.

Id
0ad22d8631168aa0838aeb764b619e11444127ea
Author
Arran Cudbard-Bell (a.cud.nosp@m.bard.nosp@m.b@fre.nosp@m.erad.nosp@m.ius.o.nosp@m.rg)

Definition in file eap_sim.h.


Data Structure Documentation

◆ eap_sim_session_t

struct eap_sim_session_t

Definition at line 46 of file eap_sim.h.

Data Fields
bool allow_encrypted Whether we can send encrypted attributes.
bool challenge_success Whether we received the correct challenge response.
fr_sim_id_req_type_t id_req The type of identity we're requesting or previously requested.
fr_sim_keys_t keys Various EAP-AKA keys.
bool send_result_ind Say that we would like to use protected result indications (SIM-Notification-Success).
int sim_id Packet ID. (replay protection)
eap_sim_server_state_t state Current session state.

◆ rlm_eap_sim_t

struct rlm_eap_sim_t

Definition at line 64 of file eap_sim.h.

Data Fields
bool protected_success Send protected success messages.
char const * virtual_server Virtual server for HLR integration.

Enumeration Type Documentation

◆ eap_sim_server_state_t

Server states.

In server_start, we send a EAP-SIM Start message.

Enumerator
EAP_SIM_SERVER_START 
EAP_SIM_SERVER_CHALLENGE 
EAP_SIM_SERVER_REAUTHENTICATE 
EAP_SIM_SERVER_SUCCESS_NOTIFICATION 
EAP_SIM_SERVER_SUCCESS 
EAP_SIM_SERVER_FAILURE_NOTIFICATION 
EAP_SIM_SERVER_FAILURE 
EAP_SIM_SERVER_MAX_STATES 

Definition at line 35 of file eap_sim.h.