Keep RADIUS statistics.
More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/io/listen.h>
#include <freeradius-devel/util/dlist.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/radius/radius.h>
#include <freeradius-devel/protocol/radius/freeradius.h>
#include <pthread.h>
Go to the source code of this file.
Keep RADIUS statistics.
- Id
- 4c28094fcf90c1f6056fcc1b0213c9a74a3be38d
Eventually, also non-RADIUS statistics
- Copyright
- 2017 Network RADIUS SAS (licen.nosp@m.se@n.nosp@m.etwor.nosp@m.krad.nosp@m.ius.c.nosp@m.om)
Definition in file rlm_stats.c.
◆ rlm_stats_data_t
◆ rlm_stats_mutable_t
struct rlm_stats_mutable_t |
◆ rlm_stats_t
◆ rlm_stats_thread_t
struct rlm_stats_thread_t |
◆ coalesce()
◆ data_cmp()
static int8_t data_cmp |
( |
const void * |
one, |
|
|
const void * |
two |
|
) |
| |
|
static |
◆ mod_detach()
◆ mod_instantiate()
◆ mod_stats()
◆ mod_thread_detach()
Destroy thread data for the submodule.
Definition at line 395 of file rlm_stats.c.
◆ mod_thread_instantiate()
Instantiate thread data for the submodule.
Definition at line 366 of file rlm_stats.c.
◆ attr_freeradius_stats4_ipv4_address
◆ attr_freeradius_stats4_ipv6_address
◆ attr_freeradius_stats4_type
◆ dict_radius
◆ module_config
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
Definition at line 89 of file rlm_stats.c.
◆ rlm_stats
Initial value:= {
.common = {
.name = "stats",
},
.method_group = {
}
}
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static int mod_detach(module_detach_ctx_t const *mctx)
static int mod_thread_instantiate(module_thread_inst_ctx_t const *mctx)
Instantiate thread data for the submodule.
static const conf_parser_t module_config[]
static int mod_thread_detach(module_thread_inst_ctx_t const *mctx)
Destroy thread data for the submodule.
static int mod_instantiate(module_inst_ctx_t const *mctx)
static unlang_action_t mod_stats(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
#define SECTION_NAME(_name1, _name2)
Define a section name consisting of a verb and a noun.
#define MODULE_BINDING_TERMINATOR
Terminate a module binding list.
Named methods exported by a module.
Definition at line 449 of file rlm_stats.c.
◆ rlm_stats_dict
Initial value:= {
{ NULL }
}
static fr_dict_t const * dict_radius
Definition at line 96 of file rlm_stats.c.
◆ rlm_stats_dict_attr
Initial value:= {
{ NULL }
}
@ FR_TYPE_IPV4_ADDR
32 Bit IPv4 Address.
@ FR_TYPE_UINT32
32 Bit unsigned integer.
@ FR_TYPE_IPV6_ADDR
128 Bit IPv6 Address.
static fr_dict_attr_t const * attr_freeradius_stats4_ipv4_address
static fr_dict_attr_t const * attr_freeradius_stats4_ipv6_address
static fr_dict_attr_t const * attr_freeradius_stats4_type
Definition at line 106 of file rlm_stats.c.