Lines Matching defs:maps
340 const cfg_obj_t *maps[3];
347 maps[i++] = cfg_tuple_get(vconfig, "options");
352 maps[i++] = options;
354 maps[i] = NULL;
356 (void)ns_config_get(maps, aclname, &aclobj);
381 const cfg_obj_t *maps[3];
388 maps[i++] = cfg_tuple_get(vconfig, "options");
393 maps[i++] = options;
395 maps[i] = NULL;
397 (void)ns_config_get(maps, "sortlist", &aclobj);
608 get_view_querysource_dispatch(const cfg_obj_t **maps,
621 result = ns_config_get(maps, "query-source", &obj);
625 result = ns_config_get(maps, "query-source-v6", &obj);
1318 const cfg_obj_t *maps[4];
1371 maps[i++] = voptions;
1374 maps[i++] = options;
1375 maps[i++] = ns_g_defaults;
1376 maps[i] = NULL;
1402 (void)ns_config_get(maps, "acache-enable", &obj);
1413 result = ns_config_get(maps, "acache-cleaning-interval", &obj);
1419 result = ns_config_get(maps, "max-acache-size", &obj);
1517 result = ns_checknames_get(maps, "response", &obj);
1534 result = ns_config_get(maps, "zero-no-soa-ttl-cache", &obj);
1539 result = ns_config_get(maps, "dnssec-accept-expired", &obj);
1544 result = ns_config_get(maps, "dnssec-validation", &obj);
1549 result = ns_config_get(maps, "max-cache-ttl", &obj);
1554 result = ns_config_get(maps, "max-ncache-ttl", &obj);
1626 result = ns_config_get(maps, "cache-file", &obj);
1634 result = ns_config_get(maps, "cleaning-interval", &obj);
1639 result = ns_config_get(maps, "max-cache-size", &obj);
1667 CHECK(get_view_querysource_dispatch(maps, AF_INET, &dispatch4,
1670 CHECK(get_view_querysource_dispatch(maps, AF_INET6, &dispatch6,
1709 result = ns_config_get(maps, "lame-ttl", &obj);
1720 result = ns_config_get(maps, "edns-udp-size", &obj);
1733 result = ns_config_get(maps, "max-udp-size", &obj);
1747 (void)ns_config_get(maps, "disable-algorithms", &disabled);
1762 (void)ns_config_get(maps, "forward", &forwardtype);
1763 (void)ns_config_get(maps, "forwarders", &forwarders);
1772 (void)ns_config_get(maps, "dual-stack-servers", &alternates);
1842 (void)ns_config_get(maps, "rrset-order", &rrsetorder);
1874 (void)ns_config_get(maps, "match-recursive-only", &obj);
1884 result = ns_config_get(maps, "recursion", &obj);
1889 result = ns_config_get(maps, "auth-nxdomain", &obj);
1894 result = ns_config_get(maps, "minimal-responses", &obj);
1899 result = ns_config_get(maps, "transfer-format", &obj);
1914 result = ns_config_get(maps, "additional-from-auth", &obj);
1925 result = ns_config_get(maps, "additional-from-cache", &obj);
2024 result = ns_config_get(maps, "request-ixfr", &obj);
2029 result = ns_config_get(maps, "provide-ixfr", &obj);
2034 result = ns_config_get(maps, "request-nsid", &obj);
2039 result = ns_config_get(maps, "max-clients-per-query", &obj);
2044 result = ns_config_get(maps, "clients-per-query", &obj);
2051 result = ns_config_get(maps, "dnssec-enable", &obj);
2056 result = ns_config_get(maps, "dnssec-lookaside", &obj);
2105 result = ns_config_get(maps, "dnssec-must-be-secure", &obj);
2110 result = ns_config_get(maps, "preferred-glue", &obj);
2123 result = ns_config_get(maps, "root-delegation-only", &obj);
2156 (void)ns_config_get(maps, "empty-zones-enable", &obj);
2157 (void)ns_config_get(maps, "disable-empty-zone", &disablelist);
2191 result = ns_config_get(maps, "empty-server", &obj);
2206 result = ns_config_get(maps, "empty-contact", &obj);
2221 result = ns_config_get(maps, "zone-statistics", &obj);
2865 configure_server_quota(const cfg_obj_t **maps, const char *name,
2871 result = ns_config_get(maps, name, &obj);
3152 set_limit(const cfg_obj_t **maps, const char *configname,
3161 if (ns_config_get(maps, configname, &obj) != ISC_R_SUCCESS)
3184 set_limit(maps, cfgvar, description, isc_resource_ ## resource, \
3188 set_limits(const cfg_obj_t **maps) {
3283 const cfg_obj_t *maps[3];
3367 * Fill in the maps array, used for resolving defaults.
3373 maps[i++] = options;
3374 maps[i++] = ns_g_defaults;
3375 maps[i] = NULL;
3387 set_limits(maps);
3411 result = ns_config_get(maps, "reserved-sockets", &obj);
3434 configure_server_quota(maps, "transfers-out", &server->xfroutquota);
3435 configure_server_quota(maps, "tcp-clients", &server->tcpquota);
3436 configure_server_quota(maps, "recursive-clients",
3451 result = ns_config_get(maps, "match-mapped-addresses", &obj);
3471 (void)ns_config_get(maps, "use-v4-udp-ports", &usev4ports);
3489 (void)ns_config_get(maps, "avoid-v4-udp-ports", &avoidv4ports);
3493 (void)ns_config_get(maps, "use-v6-udp-ports", &usev6ports);
3511 (void)ns_config_get(maps, "avoid-v6-udp-ports", &avoidv6ports);
3521 result = ns_config_get(maps, "edns-udp-size", &obj);
3534 result = ns_config_get(maps, "transfers-in", &obj);
3539 result = ns_config_get(maps, "transfers-per-ns", &obj);
3544 result = ns_config_get(maps, "serial-query-rate", &obj);
3560 result = ns_config_get(maps, "tcp-listen-queue", &obj);
3643 result = ns_config_get(maps, "interface-interval", &obj);
3662 result = ns_config_get(maps, "heartbeat-interval", &obj);
3827 result = ns_config_get(maps, "random-device", &obj);
3951 if (ns_config_get(maps, "querylog", &obj) == ISC_R_SUCCESS) {
3979 if (ns_config_get(maps, "pid-file", &obj) == ISC_R_SUCCESS)
3998 if (ns_config_get(maps, "memstatistics-file", &obj) == ISC_R_SUCCESS)
4006 result = ns_config_get(maps, "statistics-file", &obj);
4012 result = ns_config_get(maps, "dump-file", &obj);
4018 result = ns_config_get(maps, "recursing-file", &obj);
4024 result = ns_config_get(maps, "version", &obj);
4033 result = ns_config_get(maps, "hostname", &obj);
4042 result = ns_config_get(maps, "server-id", &obj);
4058 result = ns_config_get(maps, "flush-zones-on-shutdown", &obj);