#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/rad_assert.h>
Go to the source code of this file.
Data Structures | |
struct | fr_stats2vp |
Macros | |
#define | EMA_SCALE (100) |
#define | F_EMA_SCALE (1000000) |
#define | FR_STATS_INIT |
#define | INC(_x) proxy_auth_stats._x += request->num_proxied_responses; request->home_server->stats._x += request->num_proxied_responses; |
#define | INC_ACCT(_x) radius_acct_stats._x++;request->listener->stats._x++;request->client->acct._x++ |
#define | INC_AUTH(_x) radius_auth_stats._x++;request->listener->stats._x++;request->client->auth._x++; |
#define | INC_COA(_x) radius_coa_stats._x++;request->listener->stats._x++;request->client->coa._x++ |
#define | INC_DSC(_x) |
#define | USEC (1000000) |
Typedefs | |
typedef struct fr_stats2vp | fr_stats2vp |
Functions | |
void | radius_stats_ema (fr_stats_ema_t *ema, struct timeval *start, struct timeval *end) |
void | radius_stats_init (int flag) |
static void | request_stats_addvp (REQUEST *request, fr_stats2vp *table, fr_stats_t *stats) |
void | request_stats_final (REQUEST *request) |
void | request_stats_reply (REQUEST *request) |
static void | stats_time (fr_stats_t *stats, struct timeval *start, struct timeval *end) |
static void | tv_sub (struct timeval *end, struct timeval *start, struct timeval *elapsed) |
Variables | |
static fr_stats2vp | acctvp [] |
static fr_stats2vp | authvp [] |
static fr_stats2vp | client_acctvp [] |
static fr_stats2vp | client_authvp [] |
static struct timeval | hup_time |
fr_stats_t | proxy_acct_stats = FR_STATS_INIT |
static fr_stats2vp | proxy_acctvp [] |
fr_stats_t | proxy_auth_stats = FR_STATS_INIT |
static fr_stats2vp | proxy_authvp [] |
fr_stats_t | proxy_coa_stats = FR_STATS_INIT |
fr_stats_t | proxy_dsc_stats = FR_STATS_INIT |
fr_stats_t | radius_acct_stats = FR_STATS_INIT |
fr_stats_t | radius_auth_stats = FR_STATS_INIT |
fr_stats_t | radius_coa_stats = FR_STATS_INIT |
fr_stats_t | radius_dsc_stats = FR_STATS_INIT |
static struct timeval | start_time |
#define FR_STATS_INIT |
#define INC | ( | _x | ) | proxy_auth_stats._x += request->num_proxied_responses; request->home_server->stats._x += request->num_proxied_responses; |
#define INC_ACCT | ( | _x | ) | radius_acct_stats._x++;request->listener->stats._x++;request->client->acct._x++ |
#define INC_AUTH | ( | _x | ) | radius_auth_stats._x++;request->listener->stats._x++;request->client->auth._x++; |
#define INC_COA | ( | _x | ) | radius_coa_stats._x++;request->listener->stats._x++;request->client->coa._x++ |
#define INC_DSC | ( | _x | ) |
typedef struct fr_stats2vp fr_stats2vp |
void radius_stats_ema | ( | fr_stats_ema_t * | ema, |
struct timeval * | start, | ||
struct timeval * | end | ||
) |
void radius_stats_init | ( | int | flag | ) |
|
static |
void request_stats_final | ( | REQUEST * | request | ) |
void request_stats_reply | ( | REQUEST * | request | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
fr_stats_t proxy_acct_stats = FR_STATS_INIT |
|
static |
fr_stats_t proxy_auth_stats = FR_STATS_INIT |
|
static |
fr_stats_t proxy_coa_stats = FR_STATS_INIT |
fr_stats_t proxy_dsc_stats = FR_STATS_INIT |
fr_stats_t radius_acct_stats = FR_STATS_INIT |
fr_stats_t radius_auth_stats = FR_STATS_INIT |
fr_stats_t radius_coa_stats = FR_STATS_INIT |
fr_stats_t radius_dsc_stats = FR_STATS_INIT |