31 #include <freeradius-devel/eap_aka_sim/base.h>
32 #include <freeradius-devel/eap_aka_sim/attrs.h>
33 #include <freeradius-devel/eap_aka_sim/state_machine.h>
34 #include <freeradius-devel/server/virtual_servers.h>
35 #include <freeradius-devel/server/process.h>
43 strip_permanent_identity_hint ), .dflt =
"yes" },
79 .section =
SECTION_NAME(
"recv",
"AKA-Identity-Response"),
102 .section =
SECTION_NAME(
"send",
"Reauthentication-Request"),
107 .section =
SECTION_NAME(
"recv",
"Reauthentication-Response"),
121 .section =
SECTION_NAME(
"recv",
"Authentication-Reject"),
126 .section =
SECTION_NAME(
"recv",
"Synchronization-Failure"),
135 .section =
SECTION_NAME(
"send",
"Failure-Notification"),
140 .section =
SECTION_NAME(
"recv",
"Failure-Notification-ACK"),
149 .section =
SECTION_NAME(
"send",
"Success-Notification"),
154 .section =
SECTION_NAME(
"recv",
"Success-Notification-ACK"),
249 .name =
"eap_aka_prime",
255 .inst_type =
"eap_aka_sim_process_conf_t"
int cf_table_parse_int(UNUSED TALLOC_CTX *ctx, void *out, UNUSED void *parent, CONF_ITEM *ci, conf_parser_t const *rule)
Generic function for parsing conf pair values as int.
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET(_name, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
#define FR_CONF_OFFSET_TYPE_FLAGS(_name, _type, _flags, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
Defines a CONF_PAIR to C data type mapping.
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
@ FR_EAP_METHOD_AKA_PRIME
int fr_aka_sim_xlat_func_register(void)
void fr_aka_sim_xlat_func_unregister(void)
void fr_aka_sim_free(void)
int fr_aka_sim_init(void)
fr_dict_t const * dict_eap_aka_sim
fr_table_num_sorted_t const fr_aka_sim_id_request_table[]
size_t fr_aka_sim_id_request_table_len
@ AKA_SIM_INIT_ID_REQ
We've requested no ID. This is used for last_id_req.
@ AKA_SIM_NO_ID_REQ
We're not requesting any ID.
@ FR_TYPE_SIZE
Unsigned integer capable of representing any memory address on the local system.
unlang_mod_actions_t const mod_actions_authorize
module_instance_t * mi
Instance of the module being instantiated.
Temporary structure to hold arguments for instantiation calls.
static int mod_load(void)
static virtual_server_compile_t const compile_list[]
fr_process_module_t process_eap_aka_prime
static void mod_unload(void)
static conf_parser_t submodule_config[]
static int mod_instantiate(module_inst_ctx_t const *mctx)
module_t common
Common fields for all loadable modules.
Common public symbol definition for all process modules.
#define SECTION_NAME(_name1, _name2)
Define a section name consisting of a verb and a noun.
void * data
Module's instance data.
eap_aka_sim_process_conf_t * inst
unlang_action_t eap_aka_sim_state_machine_process(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
Resumes the state machine when receiving a new response packet.
eap_type_t type
The preferred EAP-Type of this instance of the EAP-SIM/AKA/AKA' state machine.
fr_aka_sim_id_req_type_t request_identity
Whether we always request the identity of the subscriber.
#define COMPILE_TERMINATOR
section_name_t const * section
Identifier for the section.
Processing sections which are allowed in this virtual server.