unbound 0.1
fast_reload_construct Struct Reference

Structure with constructed elements for use during fast reload. More...

Data Fields

void * listen_dot_sslctx
 ssl context for listening to dnstcp over ssl
void * connect_dot_sslctx
 ssl context for connecting to dnstcp over ssl
void * listen_doh_sslctx
 ssl context for listening to DoH
void * listen_quic_sslctx
 ssl context for listening to quic
char * ssl_service_key
 the file name that the ssl context is made with, private key.
char * ssl_service_pem
 the file name that the ssl context is made with, certificate.
time_t mtime_ssl_service_key
 modification time for ssl_service_key, in sec and ns.
long mtime_ns_ssl_service_key
time_t mtime_ssl_service_pem
 modification time for ssl_service_pem, in sec and ns.
long mtime_ns_ssl_service_pem
struct views * views
 construct for views
struct auth_zones * auth_zones
 construct for auth zones
struct iter_forwards * fwds
 construct for forwards
struct iter_hints * hints
 construct for stubs
struct respip_set * respip_set
 construct for respip_set
struct acl_list * acl
 construct for access control
struct acl_list * acl_interface
 construct for access control interface
struct tcl_list * tcl
 construct for tcp connection limit
struct rbtree_type * allow_proxy_tree
 construct for allow proxy tree
struct local_zones * local_zones
 construct for local zones
int use_response_ip
 if there is response ip configuration in use
int use_rpz
 if there is an rpz zone
struct edns_strings * edns_strings
 construct for edns strings
struct val_anchors * anchors
 construct for trust anchors
size_t * nsec3_keysize
 construct for nsec3 key size
size_t * nsec3_maxiter
 construct for nsec3 max iter
int nsec3_keyiter_count
 construct for nsec3 keyiter count
int * target_fetch_policy
 construct for target fetch policy
int max_dependency_depth
 construct for max dependency depth
struct iter_donotq * donotq
 construct for donotquery addresses
struct iter_priv * priv
 construct for private addresses and domains
struct rbtree_type * caps_white
 construct whitelist for capsforid names
struct iter_nat64 nat64
 construct for nat64
struct rbtree_type wait_limits_netblock
 construct for wait_limits_netblock
struct rbtree_type wait_limits_cookie_netblock
 construct for wait_limits_cookie_netblock
struct rbtree_type domain_limits
 construct for domain limits
struct config_file * oldcfg
 storage for the old configuration elements.

Detailed Description

Structure with constructed elements for use during fast reload.

At the start it contains the tree items for the new config. After the tree items are swapped into the server, the old elements are kept in here. They can then be deleted.

Field Documentation

◆ listen_dot_sslctx

void* fast_reload_construct::listen_dot_sslctx

ssl context for listening to dnstcp over ssl

Referenced by ct_create_sslctxs(), fr_construct_clear(), and sslctxs_swap().

◆ connect_dot_sslctx

void* fast_reload_construct::connect_dot_sslctx

ssl context for connecting to dnstcp over ssl

Referenced by ct_create_sslctxs(), fr_construct_clear(), and sslctxs_swap().

◆ listen_doh_sslctx

void* fast_reload_construct::listen_doh_sslctx

ssl context for listening to DoH

Referenced by ct_create_sslctxs(), fr_construct_clear(), and sslctxs_swap().

◆ listen_quic_sslctx

void* fast_reload_construct::listen_quic_sslctx

ssl context for listening to quic

Referenced by ct_create_sslctxs(), fr_construct_clear(), and sslctxs_swap().

◆ ssl_service_key

char* fast_reload_construct::ssl_service_key

the file name that the ssl context is made with, private key.

Referenced by ct_create_sslctxs(), fr_construct_clear(), fr_printmem(), and sslctxs_swap().

◆ ssl_service_pem

char* fast_reload_construct::ssl_service_pem

the file name that the ssl context is made with, certificate.

Referenced by ct_create_sslctxs(), fr_construct_clear(), fr_printmem(), and sslctxs_swap().

◆ mtime_ssl_service_key

time_t fast_reload_construct::mtime_ssl_service_key

modification time for ssl_service_key, in sec and ns.

Like in a struct timespec, but without that for portability.

Referenced by ct_create_sslctxs(), and sslctxs_swap().

◆ mtime_ssl_service_pem

time_t fast_reload_construct::mtime_ssl_service_pem

modification time for ssl_service_pem, in sec and ns.

Like in a struct timespec, but without that for portability.

Referenced by ct_create_sslctxs(), and sslctxs_swap().

◆ views

struct views* fast_reload_construct::views

◆ auth_zones

struct auth_zones* fast_reload_construct::auth_zones

◆ fwds

struct iter_forwards* fast_reload_construct::fwds

◆ hints

struct iter_hints* fast_reload_construct::hints

◆ respip_set

struct respip_set* fast_reload_construct::respip_set

◆ acl

struct acl_list* fast_reload_construct::acl

construct for access control

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ acl_interface

struct acl_list* fast_reload_construct::acl_interface

construct for access control interface

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ tcl

struct tcl_list* fast_reload_construct::tcl

construct for tcp connection limit

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ allow_proxy_tree

struct rbtree_type* fast_reload_construct::allow_proxy_tree

construct for allow proxy tree

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ local_zones

struct local_zones* fast_reload_construct::local_zones

construct for local zones

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ use_response_ip

int fast_reload_construct::use_response_ip

if there is response ip configuration in use

Referenced by fr_construct_from_config(), and fr_reload_config().

◆ use_rpz

int fast_reload_construct::use_rpz

if there is an rpz zone

Referenced by fr_construct_from_config(), and fr_reload_config().

◆ edns_strings

struct edns_strings* fast_reload_construct::edns_strings

construct for edns strings

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ anchors

struct val_anchors* fast_reload_construct::anchors

construct for trust anchors

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().

◆ nsec3_keysize

size_t* fast_reload_construct::nsec3_keysize

construct for nsec3 key size

Referenced by fr_adjust_val_env(), fr_construct_clear(), and fr_construct_from_config().

◆ nsec3_maxiter

size_t* fast_reload_construct::nsec3_maxiter

construct for nsec3 max iter

Referenced by fr_adjust_val_env(), fr_construct_clear(), and fr_construct_from_config().

◆ nsec3_keyiter_count

int fast_reload_construct::nsec3_keyiter_count

construct for nsec3 keyiter count

Referenced by fr_adjust_val_env(), and fr_construct_from_config().

◆ target_fetch_policy

int* fast_reload_construct::target_fetch_policy

construct for target fetch policy

Referenced by fr_adjust_iter_env(), fr_construct_clear(), and fr_construct_from_config().

◆ max_dependency_depth

int fast_reload_construct::max_dependency_depth

construct for max dependency depth

Referenced by fr_adjust_iter_env(), and fr_construct_from_config().

◆ donotq

struct iter_donotq* fast_reload_construct::donotq

construct for donotquery addresses

Referenced by fr_adjust_iter_env(), fr_construct_clear(), and fr_construct_from_config().

◆ priv

struct iter_priv* fast_reload_construct::priv

construct for private addresses and domains

Referenced by fr_adjust_iter_env(), fr_construct_clear(), and fr_construct_from_config().

◆ caps_white

struct rbtree_type* fast_reload_construct::caps_white

construct whitelist for capsforid names

Referenced by fr_adjust_iter_env(), fr_construct_clear(), and fr_construct_from_config().

◆ nat64

struct iter_nat64 fast_reload_construct::nat64

construct for nat64

Referenced by fr_adjust_iter_env(), and fr_construct_from_config().

◆ wait_limits_netblock

struct rbtree_type fast_reload_construct::wait_limits_netblock

construct for wait_limits_netblock

Referenced by fr_adjust_infra(), fr_construct_clear(), and fr_construct_from_config().

◆ wait_limits_cookie_netblock

struct rbtree_type fast_reload_construct::wait_limits_cookie_netblock

construct for wait_limits_cookie_netblock

Referenced by fr_adjust_infra(), fr_construct_clear(), and fr_construct_from_config().

◆ domain_limits

struct rbtree_type fast_reload_construct::domain_limits

construct for domain limits

Referenced by fr_adjust_infra(), fr_construct_clear(), and fr_construct_from_config().

◆ oldcfg

struct config_file* fast_reload_construct::oldcfg

storage for the old configuration elements.

The outer struct is allocated with malloc here, the items are from config.

Referenced by fr_construct_clear(), fr_construct_from_config(), fr_printmem(), and fr_reload_config().


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