|
unbound 0.1
|
The library-worker status structure Internal to the worker. More...
#include <libworker.h>
Data Fields | |
| int | thread_num |
| every worker has a unique thread_num. | |
| struct ub_ctx * | ctx |
| context we are operating under | |
| int | is_bg |
| is this the bg worker? | |
| int | is_bg_thread |
| is this a bg worker that is threaded (not forked)? | |
| int | want_quit |
| want to quit, stop handling new content | |
| struct module_env * | env |
| copy of the module environment with worker local entries. | |
| struct comm_base * | base |
| the event base this worker works with | |
| struct outside_network * | back |
| the backside outside network interface to the auth servers | |
| struct shared_ports * | shared_ports |
| shared ports structure | |
| struct ub_randstate * | rndstate |
| random() table for this worker. | |
| void * | sslctx |
| sslcontext for SSL wrapped DNS over TCP queries | |
The library-worker status structure Internal to the worker.
| int libworker::thread_num |
every worker has a unique thread_num.
(first in struct)
Referenced by libworker_bg(), libworker_dobg(), and libworker_setup().
| struct ub_ctx* libworker::ctx |
context we are operating under
Referenced by add_bg_result(), handle_cancel(), handle_newq(), libworker_attach_mesh(), libworker_bg(), libworker_bg_done_cb(), libworker_create_event(), libworker_delete_env(), libworker_dobg(), libworker_event_done_cb(), libworker_fg(), and libworker_setup().
| int libworker::is_bg |
is this the bg worker?
Referenced by libworker_delete_env(), and libworker_setup().
| int libworker::is_bg_thread |
is this a bg worker that is threaded (not forked)?
Referenced by add_bg_result(), handle_cancel(), handle_newq(), libworker_bg(), libworker_bg_done_cb(), libworker_delete_env(), libworker_dobg(), and libworker_setup().
| int libworker::want_quit |
want to quit, stop handling new content
Referenced by add_bg_result(), and libworker_dobg().
| struct module_env* libworker::env |
copy of the module environment with worker local entries.
Referenced by handle_newq(), libworker_alloc_cleanup(), libworker_attach_mesh(), libworker_bg_done_cb(), libworker_delete_env(), libworker_fg(), libworker_fillup_fg(), libworker_handle_service_reply(), and libworker_setup().
| struct comm_base* libworker::base |
the event base this worker works with
Referenced by libworker_delete(), libworker_delete_event(), libworker_do_cmd(), libworker_dobg(), libworker_fg(), libworker_fg_done_cb(), libworker_handle_control_cmd(), libworker_setup(), ub_ctx_delete(), and ub_resolve_event().
| struct outside_network* libworker::back |
the backside outside network interface to the auth servers
Referenced by handle_newq(), libworker_attach_mesh(), libworker_bg_done_cb(), libworker_delete_env(), libworker_fg(), libworker_send_query(), libworker_setup(), and setup_qinfo_edns().
| struct shared_ports* libworker::shared_ports |
shared ports structure
Referenced by libworker_delete_env(), and libworker_setup().
| void* libworker::sslctx |
sslcontext for SSL wrapped DNS over TCP queries
Referenced by libworker_delete_env(), and libworker_setup().