#include <isc/lang.h>#include <isccfg/cfg.h>#include <dns/types.h>Go to the source code of this file.
Data Structures | |
| struct | cfg_aclconfctx |
Defines | |
| #define | ISCCFG_ACLCONF_H 1 |
Typedefs | |
| typedef struct cfg_aclconfctx | cfg_aclconfctx_t |
Functions | |
| ISC_LANG_BEGINDECLS isc_result_t | cfg_aclconfctx_create (isc_mem_t *mctx, cfg_aclconfctx_t **ret) |
| void | cfg_aclconfctx_detach (cfg_aclconfctx_t **actxp) |
| void | cfg_aclconfctx_attach (cfg_aclconfctx_t *src, cfg_aclconfctx_t **dest) |
| isc_result_t | cfg_acl_fromconfig (const cfg_obj_t *caml, const cfg_obj_t *cctx, isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, unsigned int nest_level, dns_acl_t **target) |
| isc_result_t | cfg_acl_fromconfig2 (const cfg_obj_t *caml, const cfg_obj_t *cctx, isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, unsigned int nest_level, isc_uint16_t family, dns_acl_t **target) |
| typedef struct cfg_aclconfctx cfg_aclconfctx_t |
| ISC_LANG_BEGINDECLS isc_result_t cfg_aclconfctx_create | ( | isc_mem_t * | mctx, | |
| cfg_aclconfctx_t ** | ret | |||
| ) |
Definition at line 42 of file aclconf.c.
References cleanup(), ISC_LIST_INIT, isc_mem_attach(), isc_mem_get, isc_mem_put, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_refcount_init(), cfg_aclconfctx::mctx, cfg_aclconfctx::references, and REQUIRE.
Referenced by bind9_check_controls(), check_viewconf(), and load_configuration().
| void cfg_aclconfctx_detach | ( | cfg_aclconfctx_t ** | actxp | ) |
Definition at line 83 of file aclconf.c.
References dns_acl_detach(), ISC_LIST_HEAD, ISC_LIST_NEXT, ISC_LIST_UNLINK, isc_mem_putanddetach, isc_refcount_decrement, cfg_aclconfctx::mctx, cfg_aclconfctx::references, and REQUIRE.
Referenced by bind9_check_controls(), check_viewconf(), load_configuration(), newzone_cfgctx_destroy(), and shutdown_server().
| void cfg_aclconfctx_attach | ( | cfg_aclconfctx_t * | src, | |
| cfg_aclconfctx_t ** | dest | |||
| ) |
Definition at line 74 of file aclconf.c.
References isc_refcount_increment, cfg_aclconfctx::references, and REQUIRE.
Referenced by setup_newzones().
| isc_result_t cfg_acl_fromconfig | ( | const cfg_obj_t * | caml, | |
| const cfg_obj_t * | cctx, | |||
| isc_log_t * | lctx, | |||
| cfg_aclconfctx_t * | ctx, | |||
| isc_mem_t * | mctx, | |||
| unsigned int | nest_level, | |||
| dns_acl_t ** | target | |||
| ) |
Definition at line 600 of file aclconf.c.
References cfg_acl_fromconfig2().
Referenced by add_listener(), bind9_check_controls(), cfg_acl_fromconfig2(), check_dns64(), check_filteraaaa(), check_recursionacls(), check_zoneconf(), checkacl(), configure_rrl(), configure_view(), configure_view_acl(), configure_view_sortlist(), configure_zone_acl(), convert_named_acl(), and update_listener().
| isc_result_t cfg_acl_fromconfig2 | ( | const cfg_obj_t * | caml, | |
| const cfg_obj_t * | cctx, | |||
| isc_log_t * | lctx, | |||
| cfg_aclconfctx_t * | ctx, | |||
| isc_mem_t * | mctx, | |||
| unsigned int | nest_level, | |||
| isc_uint16_t | family, | |||
| dns_acl_t ** | target | |||
| ) |
Definition at line 610 of file aclconf.c.
References dns_acl::alloc, cfg_acl_fromconfig(), cfg_list_first(), cfg_list_length(), cfg_list_next(), cfg_listelt_value(), cfg_obj_asnetprefix(), cfg_obj_asstring(), cfg_obj_islist(), cfg_obj_isnetprefix(), cfg_obj_isstring(), cfg_obj_istuple(), cfg_obj_istype(), cfg_obj_isvoid(), cfg_obj_log(), cfg_tuple_get(), cfg_type_ecsprefix, cfg_type_keyref, cleanup(), convert_keyname(), convert_named_acl(), count_acl_elements(), dns_acl_attach(), dns_acl_create(), dns_acl_detach(), dns_acl_merge(), DNS_ACL_VALID, dns_aclelementtype_keyname, dns_aclelementtype_localhost, dns_aclelementtype_localnets, dns_aclelementtype_nestedacl, dns_iptable_addprefix(), dns_iptable_addprefix2(), dns_name_init(), dns_acl::elements, isc_netaddr::family, dns_acl::has_negatives, INSIST, dns_acl::iptable, ISC_FALSE, ISC_LOG_WARNING, isc_netaddr_format(), ISC_NETADDR_FORMATSIZE, ISC_R_FAILURE, ISC_R_SUCCESS, ISC_TF, ISC_TRUE, dns_aclelement::keyname, dns_acl::length, name, dns_aclelement::negative, dns_aclelement::nestedacl, dns_aclelement::node_num, REQUIRE, and dns_aclelement::type.
Referenced by cfg_acl_fromconfig(), and ns_listenelt_fromconfig().