/dports/dns/unbound/unbound-1.14.0/services/ |
H A D | authzone.h | 72 struct auth_zones { struct 480 struct auth_zones* auth_zones_create(void); 508 void auth_zones_cleanup(struct auth_zones* az); 513 void auth_zones_delete(struct auth_zones* az); 554 int auth_zones_answer(struct auth_zones* az, struct module_env* env, 568 struct auth_zone* auth_zones_find_zone(struct auth_zones* az, 572 struct auth_zone* auth_zone_find(struct auth_zones* az, uint8_t* nm, 576 struct auth_xfer* auth_xfer_find(struct auth_zones* az, uint8_t* nm, 621 int auth_zones_notify(struct auth_zones* az, struct module_env* env, 633 int auth_zones_startprobesequence(struct auth_zones* az, [all …]
|
H A D | authzone.c | 293 struct auth_zones* auth_zones_create(void) in auth_zones_create() 295 struct auth_zones* az = (struct auth_zones*)calloc(1, sizeof(*az)); in auth_zones_create() 2155 az_setall_deleted(struct auth_zones* az) in az_setall_deleted() 3830 lock_rw_rdlock(&env->auth_zones->lock); in auth_xfer_set_expired() 3834 lock_rw_unlock(&env->auth_zones->lock); in auth_xfer_set_expired() 3838 lock_rw_unlock(&env->auth_zones->lock); in auth_xfer_set_expired() 5117 lock_rw_rdlock(&env->auth_zones->lock); in xfr_write_after_update() 5121 lock_rw_unlock(&env->auth_zones->lock); in xfr_write_after_update() 5128 lock_rw_unlock(&env->auth_zones->lock); in xfr_write_after_update() 5186 lock_rw_rdlock(&env->auth_zones->lock); in xfr_process_reacquire_locks() [all …]
|
H A D | rpz.h | 179 int rpz_callback_from_worker_request(struct auth_zones* az, struct module_env* env,
|
H A D | rpz.c | 1443 rpz_resolve_client_action_and_zone(struct auth_zones* az, struct query_info* qinfo, in rpz_resolve_client_action_and_zone() 2102 struct auth_zones* az; in rpz_callback_from_iterator_module() 2109 if(ms->env == NULL || ms->env->auth_zones == NULL) { return 0; } in rpz_callback_from_iterator_module() 2111 az = ms->env->auth_zones; in rpz_callback_from_iterator_module() 2167 struct auth_zones* az; in rpz_callback_from_iterator_cname() 2174 if(ms->env == NULL || ms->env->auth_zones == NULL) { return 0; } in rpz_callback_from_iterator_cname() 2175 az = ms->env->auth_zones; in rpz_callback_from_iterator_cname() 2260 rpz_apply_maybe_clientip_trigger(struct auth_zones* az, struct module_env* env, in rpz_apply_maybe_clientip_trigger() 2311 rpz_callback_from_worker_request(struct auth_zones* az, struct module_env* env, in rpz_callback_from_worker_request()
|
H A D | mesh.c | 1912 struct reply_info** encode_repp, struct auth_zones* az) in apply_respip_action() 1982 qstate->env->auth_zones)) { in mesh_serve_expired_callback() 1987 qstate->env->auth_zones)) { in mesh_serve_expired_callback()
|
/dports/dns/unbound/unbound-1.14.0/testcode/ |
H A D | unitzonemd.c | 56 struct auth_zone* authtest_addzone(struct auth_zones* az, const char* name, 67 struct auth_zones* az; in zonemd_generate_test() 184 struct auth_zones* az; in zonemd_check_test() 287 env.auth_zones = auth_zones_create(); in zonemd_verify_test() 288 if(!env.auth_zones) in zonemd_verify_test() 298 z = authtest_addzone(env.auth_zones, zname, zfile); in zonemd_verify_test() 331 auth_zones_delete(env.auth_zones); in zonemd_verify_test()
|
H A D | unitauth.c | 531 authtest_addzone(struct auth_zones* az, const char* name, char* fname) in authtest_addzone() 598 struct auth_zones* az; in check_read_exact() 775 q_ans_query(struct q_ans* q, struct auth_zones* az, struct query_info* qinfo, in q_ans_query() 828 check_az_q_ans(struct auth_zones* az, struct q_ans* queries) in check_az_q_ans() 850 struct auth_zones* az; in check_queries()
|
/dports/dns/unbound/unbound-1.14.0/daemon/ |
H A D | stats.c | 321 if(worker->env.auth_zones) { in server_stats_compile() 323 lock_rw_wrlock(&worker->env.auth_zones->lock); in server_stats_compile() 325 lock_rw_rdlock(&worker->env.auth_zones->lock); in server_stats_compile() 328 auth_zones->num_query_up; in server_stats_compile() 330 auth_zones->num_query_down; in server_stats_compile() 332 worker->env.auth_zones->num_query_up = 0; in server_stats_compile() 333 worker->env.auth_zones->num_query_down = 0; in server_stats_compile() 335 lock_rw_unlock(&worker->env.auth_zones->lock); in server_stats_compile()
|
H A D | daemon.c | 286 if((daemon->env->auth_zones = auth_zones_create()) == 0) { in daemon_init() 295 auth_zones_delete(daemon->env->auth_zones); in daemon_init() 641 if(!auth_zones_apply_cfg(daemon->env->auth_zones, daemon->cfg, 1, in daemon_fork() 739 if(daemon->env->auth_zones) in daemon_cleanup() 740 auth_zones_cleanup(daemon->env->auth_zones); in daemon_cleanup() 778 auth_zones_delete(daemon->env->auth_zones); in daemon_delete()
|
H A D | worker.c | 545 struct reply_info** encode_repp, struct auth_zones* az) in apply_respip_action() 695 &encode_rep, worker->env.auth_zones)) { in answer_from_cache() 700 worker->env.auth_zones)) { in answer_from_cache() 971 if(!w->env.auth_zones) return; in answer_notify() 973 if(auth_zones_notify(w->env.auth_zones, &w->env, qinfo->qname, in answer_notify() 1337 if(worker->env.auth_zones && in worker_handle_request() 1338 rpz_callback_from_worker_request(worker->env.auth_zones, in worker_handle_request() 1348 if(worker->env.auth_zones && in worker_handle_request() 1349 auth_zones_answer(worker->env.auth_zones, &worker->env, in worker_handle_request() 1884 if(worker->env.auth_zones in worker_init() [all …]
|
H A D | remote.c | 2546 struct auth_zones* az = worker->env.auth_zones; in do_auth_zone_reload() 2625 struct auth_zones* az = worker->env.auth_zones; in do_auth_zone_transfer() 2737 do_list_auth_zones(RES* ssl, struct auth_zones* az) in do_list_auth_zones() 2950 struct auth_zones *az = worker->env.auth_zones; in do_rpz_enable_disable() 3077 do_list_auth_zones(ssl, worker->env.auth_zones); in execute_cmd()
|
/dports/dns/unbound/unbound-1.14.0/util/ |
H A D | module.h | 170 struct auth_zones; 499 struct auth_zones* auth_zones; member
|
/dports/dns/unbound/unbound-1.14.0/respip/ |
H A D | respip.h | 158 struct auth_zones* az); 186 int search_only, struct regional* region, struct auth_zones* az);
|
H A D | respip.c | 864 struct regional* region, struct auth_zones* az) in respip_rewrite_reply() 1097 qstate->region, qstate->env->auth_zones)) { in respip_operate() 1145 struct auth_zones* az) in respip_merge_cname() 1225 qstate->env->auth_zones)) in respip_inform_super()
|
/dports/dns/unbound/unbound-1.14.0/libunbound/ |
H A D | libworker.c | 642 if(ctx->env->auth_zones && auth_zones_answer(ctx->env->auth_zones, in libworker_fg() 721 if(ctx->env->auth_zones && auth_zones_answer(ctx->env->auth_zones, in libworker_attach_mesh() 859 if(w->ctx->env->auth_zones && auth_zones_answer(w->ctx->env->auth_zones, in handle_newq()
|
H A D | libunbound.c | 148 ctx->env->auth_zones = auth_zones_create(); in ub_ctx_create_nopipe() 149 if(!ctx->env->auth_zones) { in ub_ctx_create_nopipe() 160 auth_zones_delete(ctx->env->auth_zones); in ub_ctx_create_nopipe() 345 auth_zones_delete(ctx->env->auth_zones); in ub_ctx_delete()
|
H A D | context.c | 84 if(!auth_zones_apply_cfg(ctx->env->auth_zones, cfg, 1, &is_rpz, in context_finalize()
|
/dports/dns/unbound/unbound-1.14.0/iterator/ |
H A D | iterator.c | 990 lock_rw_rdlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt() 994 lock_rw_unlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt() 998 lock_rw_unlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt() 2405 if(auth_zones_can_fallback(qstate->env->auth_zones, in processQueryTargets() 2416 } else if(auth_zones_lookup(qstate->env->auth_zones, &iq->qinfo_out, in processQueryTargets() 2427 lock_rw_wrlock(&qstate->env->auth_zones->lock); in processQueryTargets() 2428 qstate->env->auth_zones->num_query_up++; in processQueryTargets() 2429 lock_rw_unlock(&qstate->env->auth_zones->lock); in processQueryTargets() 2532 if(qstate->env->auth_zones) { in processQueryTargets() 3085 if(qstate->env->auth_zones) { in processQueryResponse() [all …]
|
/dports/dns/unbound/unbound-1.14.0/smallapp/ |
H A D | unbound-checkconf.c | 899 struct auth_zones* az = auth_zones_create(); in check_auth()
|
/dports/dns/unbound/unbound-1.14.0/doc/ |
H A D | Changelog | 1329 - Fix to create and destroy rpz_lock in auth_zones structure.
|