The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Data Structures | Functions
proto_radius.h File Reference
#include <freeradius-devel/io/master.h>
#include <freeradius-devel/radius/radius.h>
+ Include dependency graph for proto_radius.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  proto_radius_io_thread_s
 
struct  proto_radius_t
 An instance of a proto_radius listen section. More...
 

Functions

void proto_radius_log (fr_listen_t const *li, fr_radius_decode_fail_t reason, fr_socket_t const *sock, char const *fmt,...)
 Log a message in a canonical format.
 

Data Structure Documentation

◆ proto_radius_io_thread_s

struct proto_radius_io_thread_s

Definition at line 49 of file proto_radius.h.

+ Collaboration diagram for proto_radius_io_thread_s:
Data Fields
fr_io_address_t * connection for connected sockets.
char const * name socket name
int sockfd
fr_stats_t stats statistics for this socket

◆ proto_radius_t

struct proto_radius_t

An instance of a proto_radius listen section.

Definition at line 32 of file proto_radius.h.

+ Collaboration diagram for proto_radius_t:
Data Fields
bool allowed[FR_RADIUS_CODE_MAX]
char const ** allowed_types names for for 'type = ...'
fr_io_instance_t io wrapper for IO abstraction
fr_radius_limit_proxy_state_t limit_proxy_state Limit Proxy-State to packets containing Message-Authenticator.
uint32_t max_packet_size for message ring buffer.
uint32_t num_messages for message ring buffer.
uint32_t priorities[FR_RADIUS_CODE_MAX] priorities for individual packets
fr_radius_require_ma_t require_message_authenticator Require Message-Authenticator in all requests.
bool tunnel_password_zeros check for trailing zeroes in Tunnel-Password.

Function Documentation

◆ proto_radius_log()

void proto_radius_log ( fr_listen_t const *  li,
fr_radius_decode_fail_t  reason,
fr_socket_t const *  sock,
char const *  fmt,
  ... 
)

Log a message in a canonical format.

'fmt' is from our source code, so we don't care about format literals.

Definition at line 228 of file proto_radius.c.

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