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/tacacs/tacacs.h>
39 #define FR_TACACS_PACKET_TYPE_MAX (10)
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
rlm_rcode_t
Return codes indicating the result of the module call.
module_t common
Common fields to all loadable modules.
fr_retry_config_t retry
retries shared by all packet types
rlm_tacacs_io_enqueue_t enqueue
Enqueue a request_t with an IO submodule.
uint32_t * types
array of allowed packet types
fr_time_delta_t revive_interval
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.
trunk_conf_t trunk_conf
trunk configuration
bool allowed[FR_TACACS_CODE_MAX]
unlang_module_signal_t signal
Send a signal to an IO module.
module_instance_t * io_submodule
fr_time_delta_t zombie_period
rlm_tacacs_io_t const * io
Public symbol exported by the submodule.
uint32_t max_attributes
Maximum number of attributes to decode in response.
fr_time_delta_t response_window
module_method_t resume
Resume a request, and get rcode.
Public structure describing an I/O path for an outgoing socket.
unlang_action_t(* module_method_t)(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
Module section callback.
Struct exported by a rlm_* module.
A time delta, a difference in time measured in nanoseconds.
Common configuration parameters for a trunk.
void(* unlang_module_signal_t)(module_ctx_t const *mctx, request_t *request, fr_signal_t action)
A callback when the request gets a fr_signal_t.