25 RCSIDH(lib_eap_base_h,
"$Id: 9896ce8994933dceeb0999cde94f05e298718ac3 $")
27 #include <freeradius-devel/eap/types.h>
29 #include <freeradius-devel/server/module.h>
30 #include <freeradius-devel/util/debug.h>
32 #include <freeradius-devel/eap/base.h>
33 #include <freeradius-devel/eap/compose.h>
34 #include <freeradius-devel/eap/types.h>
35 #include <freeradius-devel/eap/session.h>
36 #include <freeradius-devel/eap/submodule.h>
37 #include <freeradius-devel/eap/types.h>
40 #define TLS_CONFIG_SECTION "tls-config"
42 #define EAP_STATE_LEN (RADIUS_AUTH_VECTOR_LENGTH)
44 #define REQUEST_DATA_EAP_TUNNEL_CALLBACK FR_EAP_MESSAGE
45 #define REQUEST_DATA_EAP_MSCHAP_TUNNEL_CALLBACK ((FR_EAP_MESSAGE << 16) | FR_EAP_METHOD_MSCHAPV2)
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
A section grouping multiple CONF_PAIR.
int(* eap_tunnel_callback_t)(eap_session_t *eap_session, void *tls_session)
int eap_base_init(void)
Initialise the lib eap base library.
void eap_base_free(void)
De-init the lib eap base library.
eap_tunnel_callback_t callback
unlang_action_t eap_virtual_server(request_t *request, eap_session_t *eap_session, CONF_SECTION *server_cs)
Run a subrequest through a virtual server.
void eap_add_reply(request_t *request, fr_dict_attr_t const *da, uint8_t const *value, int len)
eap_packet_raw_t * eap_packet_from_vp(TALLOC_CTX *ctx, fr_pair_list_t *vps)
void eap_packet_to_vp(TALLOC_CTX *ctx, fr_pair_list_t *list, eap_packet_raw_t const *reply)
Structure to represent packet format of eap on wire
Tracks the progress of a single session of any EAP method.