Data Fields
daemon Struct Reference

Structure holding worker list. More...

#include <daemon.h>

Data Fields

struct config_filecfg
 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. More...
 
struct listen_portports
 listening ports, opened, to be shared by threads
 
int rc_port
 port number for remote that has ports opened. More...
 
struct listen_portrc_ports
 listening ports for remote control
 
struct daemon_remoterc
 remote control connections management (for first worker)
 
void * listen_sslctx
 ssl context for listening to dnstcp over ssl, and connecting ssl
 
void * connect_sslctx
 
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_envenv
 the module environment master value, copied and changed by threads
 
struct module_stack mods
 stack of module callbacks
 
struct acl_listacl
 access control, which client IPs are allowed to connect
 
struct local_zoneslocal_zones
 local authority zones
 
struct timeval time_last_stat
 last time of statistics printout
 
struct timeval time_boot
 time when daemon started
 

Detailed Description

Structure holding worker list.

Holds globally visible information.

Field Documentation

int daemon::listening_port

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().


The documentation for this struct was generated from the following file: