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.
struct listen_portports
 listening ports, opened, to be shared by threads
int rc_port
 port number for remote that has ports opened.
struct listen_portrc_ports
 listening ports for remote control
struct daemon_remoterc
 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_randstaterand
 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

port number that has ports opened.

Referenced by daemon_open_shared_ports().

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:
Generated on Thu Apr 22 00:27:08 2010 for unbound by  doxygen 1.6.3