#include <stdio.h>#include <string.h>#include <stdlib.h>#include <unistd.h>#include <fcntl.h>#include "../../sr_module.h"#include "../../error.h"#include "../../dprint.h"#include "../../ut.h"#include "../../mem/shm_mem.h"#include "../../timer.h"#include "../../locking.h"#include "ip_tree.h"#include "timer.h"#include "pike_mi.h"#include "pike_funcs.h"

Go to the source code of this file.
Functions | |
| static int | pike_exit (void) |
| static MODULE_VERSION int | pike_init (void) |
Variables | |
| static cmd_export_t | cmds [] |
| struct module_exports | exports |
| static int | max_reqs = 30 |
| static mi_export_t | mi_cmds [] |
| static param_export_t | params [] |
| int | pike_log_level = L_WARN |
| static int | time_unit = 2 |
| int | timeout = 120 |
| struct list_link * | timer = 0 |
| Timer handler. | |
| gen_lock_t * | timer_lock = 0 |
| static int pike_exit | ( | void | ) | [static] |
| static int pike_init | ( | void | ) | [static] |
Definition at line 111 of file pike.c.
References clean_routine(), destroy_ip_tree(), init_ip_tree(), LM_ERR, max_reqs, list_link::next, list_link::prev, register_timer(), shm_malloc(), swap_routine(), time_unit, and timer_lock.
cmd_export_t cmds[] [static] |
Initial value:
{
{"pike_check_req", (cmd_function)pike_check_req, 0, 0, 0, REQUEST_ROUTE},
{0,0,0,0,0,0}
}
| struct module_exports exports |
int max_reqs = 30 [static] |
mi_export_t mi_cmds[] [static] |
Initial value:
{
{MI_PIKE_LIST, mi_pike_list, MI_NO_INPUT_FLAG, 0, 0 },
{0,0,0,0,0}
}
param_export_t params[] [static] |
| int pike_log_level = L_WARN |
int time_unit = 2 [static] |
| int timeout = 120 |
Definition at line 65 of file pike.c.
Referenced by check_timeout_in_report_queue(), clean_routine(), dispatch_actions(), dlg_onroute(), pike_check_req(), set_1timer(), set_timer(), setAdditionalServerParms(), spawn_pinger(), and tls_blocking_write().
| gen_lock_t* timer_lock = 0 |
Definition at line 69 of file pike.c.
Referenced by clean_routine(), pike_check_req(), pike_exit(), and pike_init().
1.5.6