The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Macros | Typedefs | Functions
base.h File Reference

Interface into the base EAP library. More...

#include <freeradius-devel/eap/types.h>
#include <freeradius-devel/server/module.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/eap/base.h>
#include <freeradius-devel/eap/compose.h>
#include <freeradius-devel/eap/session.h>
#include <freeradius-devel/eap/submodule.h>
+ Include dependency graph for base.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  eap_tunnel_data_t
 

Macros

#define EAP_STATE_LEN   (RADIUS_AUTH_VECTOR_LENGTH)
 
#define REQUEST_DATA_EAP_MSCHAP_TUNNEL_CALLBACK   ((FR_EAP_MESSAGE << 16) | FR_EAP_METHOD_MSCHAPV2)
 
#define REQUEST_DATA_EAP_TUNNEL_CALLBACK   FR_EAP_MESSAGE
 
#define TLS_CONFIG_SECTION   "tls-config"
 

Typedefs

typedef int(* eap_tunnel_callback_t) (eap_session_t *eap_session, void *tls_session)
 

Functions

void eap_add_reply (request_t *request, fr_dict_attr_t const *da, uint8_t const *value, int len)
 
void eap_base_free (void)
 De-init the lib eap base library. More...
 
int eap_base_init (void)
 Initialise the lib eap base library. More...
 
eap_packet_raw_teap_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)
 
rlm_rcode_t eap_virtual_server (request_t *request, eap_session_t *eap_session, char const *virtual_server)
 

Detailed Description

Interface into the base EAP library.

Id
9f550b45bfd2dada4f0a030bd268eecb6dcc3740

Definition in file base.h.


Data Structure Documentation

◆ eap_tunnel_data_t

struct eap_tunnel_data_t

Definition at line 52 of file base.h.

+ Collaboration diagram for eap_tunnel_data_t:
Data Fields
eap_tunnel_callback_t callback
void * tls_session

Macro Definition Documentation

◆ EAP_STATE_LEN

#define EAP_STATE_LEN   (RADIUS_AUTH_VECTOR_LENGTH)

Definition at line 42 of file base.h.

◆ REQUEST_DATA_EAP_MSCHAP_TUNNEL_CALLBACK

#define REQUEST_DATA_EAP_MSCHAP_TUNNEL_CALLBACK   ((FR_EAP_MESSAGE << 16) | FR_EAP_METHOD_MSCHAPV2)

Definition at line 45 of file base.h.

◆ REQUEST_DATA_EAP_TUNNEL_CALLBACK

#define REQUEST_DATA_EAP_TUNNEL_CALLBACK   FR_EAP_MESSAGE

Definition at line 44 of file base.h.

◆ TLS_CONFIG_SECTION

#define TLS_CONFIG_SECTION   "tls-config"

Definition at line 40 of file base.h.

Typedef Documentation

◆ eap_tunnel_callback_t

typedef int(* eap_tunnel_callback_t) (eap_session_t *eap_session, void *tls_session)

Definition at line 50 of file base.h.

Function Documentation

◆ eap_add_reply()

void eap_add_reply ( request_t request,
fr_dict_attr_t const *  da,
uint8_t const *  value,
int  len 
)

Definition at line 375 of file base.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eap_base_free()

void eap_base_free ( void  )

De-init the lib eap base library.

Definition at line 489 of file base.c.

+ Here is the caller graph for this function:

◆ eap_base_init()

int eap_base_init ( void  )

Initialise the lib eap base library.

Definition at line 466 of file base.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eap_packet_from_vp()

eap_packet_raw_t* eap_packet_from_vp ( TALLOC_CTX *  ctx,
fr_pair_list_t vps 
)

Definition at line 279 of file base.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ eap_packet_to_vp()

void eap_packet_to_vp ( TALLOC_CTX *  ctx,
fr_pair_list_t list,
eap_packet_raw_t const *  reply 
)

Definition at line 120 of file base.c.

+ Here is the call graph for this function:

◆ eap_virtual_server()

rlm_rcode_t eap_virtual_server ( request_t request,
eap_session_t eap_session,
char const *  virtual_server 
)