The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Typedefs
rlm_radius.h File Reference
#include <freeradius-devel/io/atomic_queue.h>
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/map.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/server/trunk.h>
#include <freeradius-devel/util/dlist.h>
#include <freeradius-devel/util/retry.h>
#include <freeradius-devel/unlang/module.h>
#include <freeradius-devel/radius/radius.h>
+ Include dependency graph for rlm_radius.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rlm_radius_io_s
 Public structure describing an I/O path for an outgoing socket. More...
 
struct  rlm_radius_s
 

Typedefs

typedef unlang_action_t(* rlm_radius_io_enqueue_t) (rlm_rcode_t *p_result, void **rctx, void *instance, void *thread, request_t *request)
 Enqueue a request_t to an IO submodule. More...
 
typedef struct rlm_radius_io_s rlm_radius_io_t
 
typedef struct rlm_radius_s rlm_radius_t
 

Data Structure Documentation

◆ rlm_radius_io_s

struct rlm_radius_io_s

Public structure describing an I/O path for an outgoing socket.

This structure is exported by client I/O modules e.g. rlm_radius_udp.

Definition at line 84 of file rlm_radius.h.

+ Collaboration diagram for rlm_radius_io_s:
Data Fields
module_t common Common fields to all loadable modules.
rlm_radius_io_enqueue_t enqueue Enqueue a request_t with an IO submodule.
module_method_t resume Resume a request, and get rcode.
unlang_module_signal_t signal Send a signal to an IO module.

◆ rlm_radius_s

struct rlm_radius_s

Definition at line 42 of file rlm_radius.h.

+ Collaboration diagram for rlm_radius_s:
Data Fields
bool allowed[FR_RADIUS_CODE_MAX]
rlm_radius_io_t const * io Public symbol exported by the submodule.
module_instance_t * io_submodule
uint32_t max_attributes Maximum number of attributes to decode in response.
char const * name
uint32_t num_answers_to_alive How many status check responses we need to mark the connection as alive.
bool originate Originating packets, instead of proxying existing ones.

Controls whether Proxy-State is added to the outbound request.

uint32_t proxy_state Unique ID (mostly) of this module.
bool * received_message_authenticator Received Message-Authenticator in responses.
bool replicate Ignore responses.
fr_radius_require_ma_t require_message_authenticator Require Message-Authenticator in responses.
fr_time_delta_t response_window
fr_retry_config_t retry[FR_RADIUS_CODE_MAX]
fr_time_delta_t revive_interval
uint32_t status_check code of status-check type
map_list_t status_check_map attributes for the status-server checks
bool synchronous Retransmit when receiving a duplicate request.
trunk_conf_t trunk_conf trunk configuration
uint32_t * types array of allowed packet types
fr_time_delta_t zombie_period

Typedef Documentation

◆ rlm_radius_io_enqueue_t

typedef unlang_action_t(* rlm_radius_io_enqueue_t) (rlm_rcode_t *p_result, void **rctx, void *instance, void *thread, request_t *request)

Enqueue a request_t to an IO submodule.

Definition at line 78 of file rlm_radius.h.

◆ rlm_radius_io_t

Definition at line 1 of file rlm_radius.h.

◆ rlm_radius_t

typedef struct rlm_radius_s rlm_radius_t

Definition at line 1 of file rlm_radius.h.