The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Tracks sessions. More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/radutmp.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/radius/radius.h>
#include <fcntl.h>
#include "config.h"
Go to the source code of this file.
Data Structures | |
struct | nas_port_s |
struct | rlm_radutmp_env_t |
struct | rlm_radutmp_mutable_t |
struct | rlm_radutmp_t |
Macros | |
#define | LOCK_LEN sizeof(struct radutmp) |
Typedefs | |
typedef struct nas_port_s | NAS_PORT |
Functions | |
static unlang_action_t | mod_accounting (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
static int | mod_detach (module_detach_ctx_t const *mctx) |
static int | mod_instantiate (module_inst_ctx_t const *mctx) |
static NAS_PORT * | nas_port_find (NAS_PORT *nas_port_list, uint32_t nasaddr, uint16_t port) |
static unlang_action_t | radutmp_zap (rlm_rcode_t *p_result, request_t *request, char const *filename, uint32_t nasaddr, time_t t) |
Variables | |
static fr_dict_attr_t const * | attr_acct_delay_time |
static fr_dict_attr_t const * | attr_acct_session_id |
static fr_dict_attr_t const * | attr_acct_session_time |
static fr_dict_attr_t const * | attr_acct_status_type |
static fr_dict_attr_t const * | attr_calling_station_id |
static fr_dict_attr_t const * | attr_framed_ip_address |
static fr_dict_attr_t const * | attr_framed_protocol |
static fr_dict_attr_t const * | attr_login_ip_host |
static fr_dict_attr_t const * | attr_nas_ip_address |
static fr_dict_attr_t const * | attr_nas_port |
static fr_dict_attr_t const * | attr_nas_port_type |
static fr_dict_t const * | dict_radius |
static const call_env_method_t | method_env |
static const conf_parser_t | module_config [] |
static char const | porttypes [] = "ASITX" |
module_rlm_t | rlm_radutmp |
fr_dict_autoload_t | rlm_radutmp_dict [] |
fr_dict_attr_autoload_t | rlm_radutmp_dict_attr [] |
Tracks sessions.
Definition in file rlm_radutmp.c.
struct nas_port_s |
struct rlm_radutmp_env_t |
Definition at line 62 of file rlm_radutmp.c.
Data Fields | ||
---|---|---|
fr_value_box_t | filename | |
fr_value_box_t | username |
struct rlm_radutmp_mutable_t |
Definition at line 51 of file rlm_radutmp.c.
Data Fields | ||
---|---|---|
NAS_PORT * | nas_port_list |
struct rlm_radutmp_t |
Definition at line 55 of file rlm_radutmp.c.
Data Fields | ||
---|---|---|
bool | caller_id_ok | |
bool | check_nas | |
rlm_radutmp_mutable_t * | mutable | |
uint32_t | permission |
Definition at line 36 of file rlm_radutmp.c.
typedef struct nas_port_s NAS_PORT |
Definition at line 38 of file rlm_radutmp.c.
|
static |
|
static |
|
static |
Definition at line 555 of file rlm_radutmp.c.
|
static |
Definition at line 123 of file rlm_radutmp.c.
|
static |
Definition at line 92 of file rlm_radutmp.c.
|
static |
Definition at line 93 of file rlm_radutmp.c.
|
static |
Definition at line 94 of file rlm_radutmp.c.
|
static |
Definition at line 95 of file rlm_radutmp.c.
|
static |
Definition at line 96 of file rlm_radutmp.c.
|
static |
Definition at line 97 of file rlm_radutmp.c.
|
static |
Definition at line 98 of file rlm_radutmp.c.
|
static |
Definition at line 99 of file rlm_radutmp.c.
|
static |
Definition at line 100 of file rlm_radutmp.c.
|
static |
Definition at line 101 of file rlm_radutmp.c.
|
static |
Definition at line 102 of file rlm_radutmp.c.
|
static |
Definition at line 84 of file rlm_radutmp.c.
|
static |
Definition at line 74 of file rlm_radutmp.c.
|
static |
Definition at line 67 of file rlm_radutmp.c.
|
static |
Definition at line 38 of file rlm_radutmp.c.
module_rlm_t rlm_radutmp |
Definition at line 579 of file rlm_radutmp.c.
fr_dict_autoload_t rlm_radutmp_dict |
Definition at line 87 of file rlm_radutmp.c.
fr_dict_attr_autoload_t rlm_radutmp_dict_attr |
Definition at line 105 of file rlm_radutmp.c.