![]() |
The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
|
Session tracking using redis. More...
#include <freeradius-devel/server/base.h>#include <freeradius-devel/server/module_rlm.h>#include <freeradius-devel/server/modpriv.h>#include <freeradius-devel/util/debug.h>#include <freeradius-devel/redis/base.h>#include <freeradius-devel/redis/cluster_async.h>
Include dependency graph for rlm_rediswho.c:Go to the source code of this file.
Data Structures | |
| struct | rediswho_call_env_t |
| struct | rediswho_rctx_t |
| Resume context for rediswho module calls. More... | |
| struct | rlm_rediswho_t |
| struct | rlm_rediswho_thread_t |
Variables | |
| static fr_dict_attr_t const * | attr_acct_status_type |
| static fr_dict_t const * | dict_radius |
| static fr_dict_t const * | dict_redis |
| static const call_env_method_t | method_env |
| static conf_parser_t | module_config [] |
| static conf_parser_t | redis_config [] |
| static call_env_parser_t const | rediswho_env_parser [] |
| module_rlm_t | rlm_rediswho |
| fr_dict_autoload_t | rlm_rediswho_dict [] |
| fr_dict_attr_autoload_t | rlm_rediswho_dict_attr [] |
Session tracking using redis.
Definition in file rlm_rediswho.c.
| struct rediswho_call_env_t |
Definition at line 68 of file rlm_rediswho.c.
Collaboration diagram for rediswho_call_env_t:| Data Fields | ||
|---|---|---|
| fr_value_box_t | insert_arg | Argument to append to insert command. |
| fr_value_box_t | insert_cmd | Command to run for insert stage, defaults to LPUSH. |
| fr_value_box_t | key | Key value for redis commands. |
| fr_value_box_t | trim_cmd | Command to run for trim stage, defaults to LTRIM. |
| struct rediswho_rctx_t |
Resume context for rediswho module calls.
Definition at line 61 of file rlm_rediswho.c.
Collaboration diagram for rediswho_rctx_t:| Data Fields | ||
|---|---|---|
| fr_redis_async_cmd_t * | cmd | Async command context. |
| char * | cmd_str | Formatted command currently being run. |
| fr_redis_command_set_t * | cmds | Command set for module call. |
| int | ret | Value returned in Redis reply. |
| struct rlm_rediswho_t |
Definition at line 39 of file rlm_rediswho.c.
Collaboration diagram for rlm_rediswho_t:| Data Fields | ||
|---|---|---|
| fr_redis_conf_t | conf |
Connection parameters for the Redis server. Must be first field in this struct. |
| fr_coord_pair_reg_t * | coord_pair_reg | Coord pair registration. |
| fr_coord_reg_t * | coord_reg | Coordinator registration. |
| int | expiry_time | Expiry time in seconds if no updates are received for a user. |
| CONF_SECTION * | tls_conf | TLS CONF_SECTION. |
| int | trim_count | How many session updates to keep track of per user. |
| struct rlm_rediswho_thread_t |
Definition at line 53 of file rlm_rediswho.c.
Collaboration diagram for rlm_rediswho_thread_t:| Data Fields | ||
|---|---|---|
| fr_coord_worker_t * | cw | Coord-worker for fetching cluster map. |
| rlm_rediswho_t * | inst | Module instance. |
| fr_redis_ct_t * | rtcluster | Per thread Redis cluster. |
|
static |
|
static |
|
static |
Definition at line 177 of file rlm_rediswho.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 231 of file rlm_rediswho.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 215 of file rlm_rediswho.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 258 of file rlm_rediswho.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| REDIS_ASYNC_COORD_CALLBACKS | ( | rlm_rediswho_thread_t | ) |
|
static |
|
static |
Definition at line 142 of file rlm_rediswho.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 186 of file rlm_rediswho.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Process redisReply from rediswho command.
The reply is expected to either be an integer or status.
Definition at line 111 of file rlm_rediswho.c.
Here is the caller graph for this function:
|
static |
Definition at line 99 of file rlm_rediswho.c.
|
static |
Definition at line 89 of file rlm_rediswho.c.
|
static |
Definition at line 90 of file rlm_rediswho.c.
|
static |
Definition at line 476 of file rlm_rediswho.c.
|
static |
Definition at line 80 of file rlm_rediswho.c.
|
static |
Definition at line 75 of file rlm_rediswho.c.
|
static |
Definition at line 444 of file rlm_rediswho.c.
| module_rlm_t rlm_rediswho |
Definition at line 485 of file rlm_rediswho.c.
| fr_dict_autoload_t rlm_rediswho_dict |
Definition at line 93 of file rlm_rediswho.c.
| fr_dict_attr_autoload_t rlm_rediswho_dict_attr |
Definition at line 102 of file rlm_rediswho.c.
1.9.8