The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations
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 <freeradius-devel/radius/bio.h>
#include <freeradius-devel/bio/fd.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_s
 

Typedefs

typedef struct rlm_radius_s rlm_radius_t
 

Enumerations

enum  rlm_radius_mode_t {
  RLM_RADIUS_MODE_INVALID = 0 ,
  RLM_RADIUS_MODE_PROXY ,
  RLM_RADIUS_MODE_CLIENT ,
  RLM_RADIUS_MODE_REPLICATE ,
  RLM_RADIUS_MODE_UNCONNECTED_REPLICATE ,
  RLM_RADIUS_MODE_XLAT_PROXY
}
 

Data Structure Documentation

◆ rlm_radius_s

struct rlm_radius_s

Definition at line 53 of file rlm_radius.h.

+ Collaboration diagram for rlm_radius_s:
Data Fields
bool allowed[FR_RADIUS_CODE_MAX]
fr_radius_ctx_t common_ctx
fr_bio_fd_config_t fd_config for now MUST be at the start!
uint32_t max_attributes Maximum number of attributes to decode in response.
uint32_t max_packet_size Maximum packet size.
uint16_t max_send_coalesce Maximum number of packets to coalesce into one mmsg call.
rlm_radius_mode_t mode proxy, client, etc.
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

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
char const * secret Shared secret.
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.
fr_retry_config_t timeout_retry
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_t

typedef struct rlm_radius_s rlm_radius_t

Definition at line 39 of file rlm_radius.h.

Enumeration Type Documentation

◆ rlm_radius_mode_t

Enumerator
RLM_RADIUS_MODE_INVALID 
RLM_RADIUS_MODE_PROXY 
RLM_RADIUS_MODE_CLIENT 
RLM_RADIUS_MODE_REPLICATE 
RLM_RADIUS_MODE_UNCONNECTED_REPLICATE 
RLM_RADIUS_MODE_XLAT_PROXY 

Definition at line 41 of file rlm_radius.h.