All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions | Variables
rlm_eap_ttls.c File Reference
#include "eap_ttls.h"
+ Include dependency graph for rlm_eap_ttls.c:

Go to the source code of this file.

Data Structures

struct  rlm_eap_ttls_t


struct rlm_eap_ttls_t 


static int CC_HINT (nonnull)
static int mod_instantiate (CONF_SECTION *cs, void **instance)
static int mod_process (void *arg, eap_session_t *eap_session)
static ttls_tunnel_tttls_alloc (TALLOC_CTX *ctx, rlm_eap_ttls_t *inst)


static CONF_PARSER module_config []
rlm_eap_module_t rlm_eap_ttls

Data Structure Documentation

struct rlm_eap_ttls_t

Definition at line 29 of file rlm_eap_ttls.c.

Data Fields
bool copy_request_to_tunnel
int default_method
char const * default_method_name
bool include_length
bool req_client_cert
fr_tls_server_conf_t * tls_conf
char const * tls_conf_name
bool use_tunneled_reply
char const * virtual_server

Typedef Documentation

Function Documentation

static int CC_HINT ( nonnull  )

Definition at line 147 of file rlm_eap_ttls.c.

+ Here is the call graph for this function:

static int mod_instantiate ( CONF_SECTION cs,
void **  instance 

Definition at line 92 of file rlm_eap_ttls.c.

+ Here is the call graph for this function:

static int mod_process ( void *  arg,
eap_session_t eap_session 

Definition at line 202 of file rlm_eap_ttls.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ttls_tunnel_t* ttls_alloc ( TALLOC_CTX *  ctx,
rlm_eap_ttls_t inst 

Definition at line 134 of file rlm_eap_ttls.c.

+ Here is the caller graph for this function:

Variable Documentation

CONF_PARSER module_config[]
Initial value:
= {
{ FR_CONF_OFFSET("tls", PW_TYPE_STRING, rlm_eap_ttls_t, tls_conf_name) },
{ FR_CONF_OFFSET("default_eap_type", PW_TYPE_STRING, rlm_eap_ttls_t, default_method_name), .dflt = "md5" },
{ FR_CONF_OFFSET("copy_request_to_tunnel", PW_TYPE_BOOLEAN, rlm_eap_ttls_t, copy_request_to_tunnel), .dflt = "no" },
{ FR_CONF_OFFSET("use_tunneled_reply", PW_TYPE_BOOLEAN, rlm_eap_ttls_t, use_tunneled_reply), .dflt = "no" },
{ FR_CONF_OFFSET("virtual_server", PW_TYPE_STRING, rlm_eap_ttls_t, virtual_server) },
{ FR_CONF_OFFSET("include_length", PW_TYPE_BOOLEAN, rlm_eap_ttls_t, include_length), .dflt = "yes" },
{ FR_CONF_OFFSET("require_client_cert", PW_TYPE_BOOLEAN, rlm_eap_ttls_t, req_client_cert), .dflt = "no" },
Definition: conffile.h:289
A truth value.
Definition: radius.h:56
#define FR_CONF_OFFSET(_n, _t, _s, _f)
Definition: conffile.h:168
String of printable characters.
Definition: radius.h:33

Definition at line 77 of file rlm_eap_ttls.c.

rlm_eap_module_t rlm_eap_ttls
Initial value:
= {
.name = "eap_ttls",
.instantiate = mod_instantiate,
.session_init = mod_session_init,
.process = mod_process
static int mod_instantiate(CONF_SECTION *cs, void **instance)
Definition: rlm_eap_ttls.c:92
static int mod_session_init(void *instance, eap_session_t *eap_session)
Definition: rlm_eap_gtc.c:89
static int mod_process(void *arg, eap_session_t *eap_session)
Definition: rlm_eap_ttls.c:202

Definition at line 346 of file rlm_eap_ttls.c.