The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Macros | Typedefs
rlm_tacacs.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/tacacs/tacacs.h>
+ Include dependency graph for rlm_tacacs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rlm_tacacs_io_s
 Public structure describing an I/O path for an outgoing socket. More...
 
struct  rlm_tacacs_s
 

Macros

#define FR_TACACS_PACKET_TYPE_MAX   (10)
 

Typedefs

typedef unlang_action_t(* rlm_tacacs_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_tacacs_io_s rlm_tacacs_io_t
 
typedef struct rlm_tacacs_s rlm_tacacs_t
 

Data Structure Documentation

◆ rlm_tacacs_io_s

struct rlm_tacacs_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_tacacs_udp.

Definition at line 73 of file rlm_tacacs.h.

+ Collaboration diagram for rlm_tacacs_io_s:
Data Fields
module_t common Common fields to all loadable modules.
rlm_tacacs_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_tacacs_s

struct rlm_tacacs_s

Definition at line 44 of file rlm_tacacs.h.

+ Collaboration diagram for rlm_tacacs_s:
Data Fields
bool allowed[FR_TACACS_CODE_MAX]
rlm_tacacs_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
fr_time_delta_t response_window
fr_retry_config_t retry retries shared by all packet types
fr_time_delta_t revive_interval
trunk_conf_t trunk_conf trunk configuration
uint32_t * types array of allowed packet types
fr_time_delta_t zombie_period

Macro Definition Documentation

◆ FR_TACACS_PACKET_TYPE_MAX

#define FR_TACACS_PACKET_TYPE_MAX   (10)

Definition at line 39 of file rlm_tacacs.h.

Typedef Documentation

◆ rlm_tacacs_io_enqueue_t

typedef unlang_action_t(* rlm_tacacs_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 67 of file rlm_tacacs.h.

◆ rlm_tacacs_io_t

Definition at line 1 of file rlm_tacacs.h.

◆ rlm_tacacs_t

typedef struct rlm_tacacs_s rlm_tacacs_t

Definition at line 1 of file rlm_tacacs.h.