The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
base.c File Reference

TLS processing. More...

#include <freeradius-devel/server/protocol.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/protocol/tls/freeradius.h>
#include <freeradius-devel/server/process.h>
+ Include dependency graph for base.c:

Go to the source code of this file.

Data Structures

struct  process_tls_sections_t
 
struct  process_tls_t
 

Macros

#define FR_TLS_PACKET_CODE_VALID(_code)   (((_code) > 0) && ((_code) <= FR_PACKET_TYPE_VALUE_NOTFOUND))
 
#define PROCESS_INST   process_tls_t
 
#define PROCESS_PACKET_CODE_VALID   FR_TLS_PACKET_CODE_VALID
 
#define PROCESS_PACKET_TYPE   uint32_t
 

Functions

static unlang_action_t mod_process (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
 

Variables

static fr_dict_attr_t const * attr_packet_type
 
static const virtual_server_compile_t compile_list []
 
static fr_dict_t const * dict_tls
 
static fr_process_state_t const process_state []
 
fr_process_module_t process_tls
 
fr_dict_autoload_t process_tls_dict []
 
fr_dict_attr_autoload_t process_tls_dict_attr []
 

Detailed Description

TLS processing.

Id
ca2a30ac23c5886dfb9a9cfe3551840198c9b6cb

Definition in file base.c.


Data Structure Documentation

◆ process_tls_sections_t

struct process_tls_sections_t

Definition at line 44 of file base.c.

+ Collaboration diagram for process_tls_sections_t:
Data Fields
CONF_SECTION * clear_session
CONF_SECTION * establish_session
CONF_SECTION * load_session
CONF_SECTION * new_session
CONF_SECTION * store_session
CONF_SECTION * verify_certificate

◆ process_tls_t

struct process_tls_t

Definition at line 53 of file base.c.

+ Collaboration diagram for process_tls_t:
Data Fields
process_tls_sections_t sections

Macro Definition Documentation

◆ FR_TLS_PACKET_CODE_VALID

#define FR_TLS_PACKET_CODE_VALID (   _code)    (((_code) > 0) && ((_code) <= FR_PACKET_TYPE_VALUE_NOTFOUND))

Definition at line 57 of file base.c.

◆ PROCESS_INST

#define PROCESS_INST   process_tls_t

Definition at line 59 of file base.c.

◆ PROCESS_PACKET_CODE_VALID

#define PROCESS_PACKET_CODE_VALID   FR_TLS_PACKET_CODE_VALID

Definition at line 61 of file base.c.

◆ PROCESS_PACKET_TYPE

#define PROCESS_PACKET_TYPE   uint32_t

Definition at line 60 of file base.c.

Function Documentation

◆ mod_process()

static unlang_action_t mod_process ( rlm_rcode_t p_result,
module_ctx_t const *  mctx,
request_t request 
)
static

Definition at line 170 of file base.c.

+ Here is the call graph for this function:

Variable Documentation

◆ attr_packet_type

fr_dict_attr_t const* attr_packet_type
static

Definition at line 36 of file base.c.

◆ compile_list

const virtual_server_compile_t compile_list[]
static

Definition at line 189 of file base.c.

◆ dict_tls

fr_dict_t const* dict_tls
static

Definition at line 28 of file base.c.

◆ process_state

fr_process_state_t const process_state[]
static

Definition at line 65 of file base.c.

◆ process_tls

fr_process_module_t process_tls
Initial value:
= {
.common = {
.name = "tls",
.inst_size = sizeof(process_tls_t)
},
.process = mod_process,
.compile_list = compile_list,
.dict = &dict_tls,
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
Definition dl_module.h:63
fr_dict_t const * dict_tls
Definition base.c:79
static unlang_action_t mod_process(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
Definition base.c:179
static const virtual_server_compile_t compile_list[]
Definition base.c:205

Definition at line 225 of file base.c.

◆ process_tls_dict

fr_dict_autoload_t process_tls_dict
Initial value:
= {
{ .out = &dict_tls, .proto = "tls" },
{ NULL }
}

Definition at line 31 of file base.c.

◆ process_tls_dict_attr

fr_dict_attr_autoload_t process_tls_dict_attr
Initial value:
= {
{ .out = &attr_packet_type, .name = "Packet-Type", .type = FR_TYPE_UINT32, .dict = &dict_tls},
{ NULL }
}
fr_dict_attr_t const * attr_packet_type
Definition base.c:93
@ FR_TYPE_UINT32
32 Bit unsigned integer.

Definition at line 39 of file base.c.