17#include <freeradius-devel/io/atomic_queue.h>
18#include <freeradius-devel/server/base.h>
19#include <freeradius-devel/server/map.h>
20#include <freeradius-devel/server/module_rlm.h>
21#include <freeradius-devel/server/trunk.h>
22#include <freeradius-devel/util/dlist.h>
23#include <freeradius-devel/util/retry.h>
24#include <freeradius-devel/unlang/module.h>
25#include <freeradius-devel/radius/radius.h>
26#include <freeradius-devel/radius/bio.h>
28#include <freeradius-devel/bio/fd.h>
@ FR_RADIUS_CODE_MAX
Maximum possible protocol code.
Configuration for sockets.
fr_radius_require_ma_t
Control whether Message-Authenticator is required in Access-Requests.
fr_radius_require_ma_t require_message_authenticator
Require Message-Authenticator in responses.
bool replicate
Ignore responses.
uint32_t num_answers_to_alive
How many status check responses we need to mark the connection as alive.
map_list_t status_check_map
attributes for the status-server checks
uint16_t max_send_coalesce
Maximum number of packets to coalesce into one mmsg call.
fr_time_delta_t revive_interval
fr_retry_config_t retry[FR_RADIUS_CODE_MAX]
bool originate
Originating packets, instead of proxying existing ones.
uint32_t status_check
code of status-check type
rlm_radius_mode_t mode
proxy, client, etc.
bool * received_message_authenticator
Received Message-Authenticator in responses.
@ RLM_RADIUS_MODE_XLAT_PROXY
@ RLM_RADIUS_MODE_INVALID
@ RLM_RADIUS_MODE_REPLICATE
@ RLM_RADIUS_MODE_UNCONNECTED_REPLICATE
uint32_t max_packet_size
Maximum packet size.
fr_retry_config_t timeout_retry
uint32_t * types
array of allowed packet types
char const * secret
Shared secret.
fr_time_delta_t response_window
uint32_t max_attributes
Maximum number of attributes to decode in response.
bool allowed[FR_RADIUS_CODE_MAX]
trunk_conf_t trunk_conf
trunk configuration
fr_time_delta_t zombie_period
fr_bio_fd_config_t fd_config
for now MUST be at the start!
bool synchronous
Retransmit when receiving a duplicate request.
fr_radius_ctx_t common_ctx
A time delta, a difference in time measured in nanoseconds.
Common configuration parameters for a trunk.