Lines Matching defs:config
2 * util/config_file.c - reads and stores the config file for unbound.
39 * This file contains functions for the config file.
42 #include "config.h"
84 /** global config during parsing */
97 /* the defaults if no config is present */
674 else S_STR("module-config:", module_conf)
1059 else O_STR(opt, "module-config", module_conf)
2126 config_apply(struct config_file* config)
2128 MAX_TTL = (time_t)config->max_ttl;
2129 MIN_TTL = (time_t)config->min_ttl;
2130 SERVE_EXPIRED = config->serve_expired;
2131 SERVE_EXPIRED_TTL = (time_t)config->serve_expired_ttl;
2132 SERVE_EXPIRED_REPLY_TTL = (time_t)config->serve_expired_reply_ttl;
2133 SERVE_ORIGINAL_TTL = config->serve_original_ttl;
2134 MAX_NEG_TTL = (time_t)config->max_negative_ttl;
2135 RTT_MIN_TIMEOUT = config->infra_cache_min_rtt;
2136 EDNS_ADVERTISED_SIZE = (uint16_t)config->edns_buffer_size;
2137 MINIMAL_RESPONSES = config->minimal_responses;
2138 RRSET_ROUNDROBIN = config->rrset_roundrobin;
2139 LOG_TAG_QUERYREPLY = config->log_tag_queryreply;
2140 UNKNOWN_SERVER_NICENESS = config->unknown_server_time_limit;
2141 log_set_time_asc(config->log_time_ascii);
2142 autr_permit_small_holddown = config->permit_small_holddown;
2143 stream_wait_max = config->stream_wait_size;
2144 http2_query_buffer_max = config->http_query_buffer_size;
2145 http2_response_buffer_max = config->http_response_buffer_size;
2168 * @param cfg: config struct for chroot and chdir (if set).