#include <daemon.h>
Data Fields | |
| struct config_file * | cfg |
| The config settings. | |
| 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 | 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 | |
Holds globally visible information.
1.5.6