The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Switches between retuning different return codes. More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/radius/radius.h>
#include <freeradius-devel/util/debug.h>
Go to the source code of this file.
Data Structures | |
struct | rlm_sometimes_t |
Functions | |
static int | mod_instantiate (module_inst_ctx_t const *mctx) |
static unlang_action_t | mod_sometimes_packet (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
static unlang_action_t | mod_sometimes_reply (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
static unlang_action_t | sometimes_return (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request, fr_packet_t *packet, fr_packet_t *reply) |
Variables | |
static const conf_parser_t | module_config [] |
module_rlm_t | rlm_sometimes |
Switches between retuning different return codes.
Definition in file rlm_sometimes.c.
struct rlm_sometimes_t |
Definition at line 35 of file rlm_sometimes.c.
Data Fields | ||
---|---|---|
tmpl_t * | key | |
float | percentage | |
rlm_rcode_t | rcode | |
char const * | rcode_str |
|
static |
Definition at line 49 of file rlm_sometimes.c.
|
static |
|
static |
|
static |
Definition at line 74 of file rlm_sometimes.c.
|
static |
Definition at line 42 of file rlm_sometimes.c.
module_rlm_t rlm_sometimes |
Definition at line 156 of file rlm_sometimes.c.