Structure holding worker list. More...
#include <daemon.h>
Data Fields | |
struct config_file * | cfg |
The config settings. | |
char * | chroot |
the chroot dir in use, NULL if none | |
char * | pidfile |
pidfile that is used | |
int | listening_port |
port number that has ports opened. | |
struct listen_port * | ports |
listening ports, opened, to be shared by threads | |
int | rc_port |
port number for remote that has ports opened. | |
struct listen_port * | rc_ports |
listening ports for remote control | |
struct daemon_remote * | rc |
remote control connections management (for first worker) | |
int | num |
num threads allocated | |
struct worker ** | workers |
the worker entries | |
int | need_to_exit |
do we need to exit unbound (or is it only a reload?) | |
struct ub_randstate * | rand |
master random table ; used for port div between threads on reload | |
struct alloc_cache | superalloc |
master allocation cache | |
struct module_env * | env |
the module environment master value, copied and changed by threads | |
struct module_stack | mods |
stack of module callbacks | |
struct acl_list * | acl |
access control, which client IPs are allowed to connect | |
struct local_zones * | local_zones |
local authority zones | |
struct timeval | time_last_stat |
last time of statistics printout | |
struct timeval | time_boot |
time when daemon started |
Structure holding worker list.
Holds globally visible information.
port number that has ports opened.
Referenced by daemon_open_shared_ports().
int daemon::rc_port |
port number for remote that has ports opened.
Referenced by daemon_open_shared_ports().