EAP-SIM process module.
More...
#include <freeradius-devel/eap_aka_sim/base.h>
#include <freeradius-devel/eap_aka_sim/attrs.h>
#include <freeradius-devel/eap_aka_sim/state_machine.h>
#include <freeradius-devel/server/virtual_servers.h>
#include <freeradius-devel/server/process.h>
Go to the source code of this file.
EAP-SIM process module.
- Id
- 1f920fe6ace7f57f57e6aab2d91158ec23853754
The state machine for EAP-SIM, EAP-AKA and EAP-AKA' is common to all methods and is in src/lib/eap_aka_sim/state_machine.c
The process modules for the different EAP methods just define the sections for that EAP method, and parse different config items.
- Copyright
- 2021 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 base.c.
◆ mod_instantiate()
◆ mod_load()
static int mod_load |
( |
void |
| ) |
|
|
static |
◆ mod_unload()
static void mod_unload |
( |
void |
| ) |
|
|
static |
◆ compile_list
◆ process_eap_sim
Initial value:= {
.common = {
.name = "eap_sim",
.inst_type = "eap_aka_sim_process_conf_t"
},
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
fr_dict_t const * dict_eap_aka_sim
static int mod_load(void)
static virtual_server_compile_t compile_list[]
static void mod_unload(void)
static conf_parser_t submodule_config[]
static int mod_instantiate(module_inst_ctx_t const *mctx)
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.
Definition at line 235 of file base.c.
◆ submodule_config
Initial value:= {
strip_permanent_identity_hint ), .dflt = "yes" },
}
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
fr_table_num_sorted_t const fr_aka_sim_id_request_table[]
size_t fr_aka_sim_id_request_table_len
@ FR_TYPE_SIZE
Unsigned integer capable of representing any memory address on the local system.
Definition at line 37 of file base.c.