| /freebsd/contrib/unbound/services/ |
| H A D | authzone.h | 72 struct auth_zones { struct 483 struct auth_zones* auth_zones_create(void); 495 int auth_zones_apply_cfg(struct auth_zones* az, struct config_file* cfg, 504 void auth_xfer_pickup_initial(struct auth_zones* az, struct module_env* env); 511 void auth_zones_cleanup(struct auth_zones* az); 516 void auth_zones_delete(struct auth_zones* az); 542 int auth_zones_lookup(struct auth_zones* az, struct query_info* qinfo, 557 int auth_zones_downstream_answer(struct auth_zones* az, struct module_env* env, 572 struct auth_zone* auth_zones_find_zone(struct auth_zones* az, 576 struct auth_zone* auth_zone_find(struct auth_zones* az, uint8_t* nm, [all …]
|
| H A D | authzone.c | 294 struct auth_zones* auth_zones_create(void) in auth_zones_create() 296 struct auth_zones* az = (struct auth_zones*)calloc(1, sizeof(*az)); in auth_zones_create() 391 auth_zone_delete(struct auth_zone* z, struct auth_zones* az) in auth_zone_delete() 416 auth_zone_create(struct auth_zones* az, uint8_t* nm, size_t nmlen, in auth_zone_create() 449 auth_zone_find(struct auth_zones* az, uint8_t* nm, size_t nmlen, in auth_zone_find() 462 auth_xfer_find(struct auth_zones* az, uint8_t* nm, size_t nmlen, in auth_xfer_find() 476 auth_zone_find_less_equal(struct auth_zones* az, uint8_t* nm, size_t nmlen, in auth_zone_find_less_equal() 491 auth_zones_find_zone(struct auth_zones* az, uint8_t* name, size_t name_len, in auth_zones_find_zone() 523 auth_zones_find_or_add_zone(struct auth_zones* az, char* name) in auth_zones_find_or_add_zone() 546 auth_zones_find_or_add_xfer(struct auth_zones* az, struct auth_zone* z) in auth_zones_find_or_add_xfer() [all …]
|
| H A D | rpz.h | 108 * list requires the rpz_lock from struct auth_zones. Changing items in this 167 * @param az: auth_zones struct, containing first RPZ item and RPZ lock 180 int rpz_callback_from_worker_request(struct auth_zones* az, struct module_env* env,
|
| H A D | rpz.c | 1700 rpz_resolve_client_action_and_zone(struct auth_zones* az, struct query_info* qinfo, in rpz_resolve_client_action_and_zone() 2470 struct auth_zones* az; in rpz_callback_from_iterator_module() 2483 if(ms->env == NULL || ms->env->auth_zones == NULL) { return 0; } in rpz_callback_from_iterator_module() 2485 az = ms->env->auth_zones; in rpz_callback_from_iterator_module() 2546 struct auth_zones* az; in rpz_callback_from_iterator_cname() 2558 if(ms->env == NULL || ms->env->auth_zones == NULL) { return 0; } in rpz_callback_from_iterator_cname() 2559 az = ms->env->auth_zones; in rpz_callback_from_iterator_cname() 2660 rpz_apply_maybe_clientip_trigger(struct auth_zones* az, struct module_env* env, in rpz_apply_maybe_clientip_trigger() 2739 rpz_callback_from_worker_request(struct auth_zones* az, struct module_env* env, in rpz_callback_from_worker_request()
|
| H A D | mesh.c | 2416 struct reply_info** encode_repp, struct auth_zones* az) in apply_respip_action() 2495 qstate->env->auth_zones)) { in mesh_serve_expired_callback() 2500 qstate->env->auth_zones, qstate->env->views, in mesh_serve_expired_callback()
|
| /freebsd/contrib/unbound/respip/ |
| H A D | respip.h | 164 struct auth_zones* az, struct views* views, 197 int search_only, struct regional* region, struct auth_zones* az,
|
| H A D | respip.c | 878 struct regional* region, struct auth_zones* az, int* rpz_passthru, in respip_rewrite_reply() 1126 qstate->region, qstate->env->auth_zones, in respip_operate() 1176 struct auth_zones* az, struct views* views, in respip_merge_cname() 1258 qstate->env->auth_zones, qstate->env->views, in respip_inform_super()
|
| /freebsd/contrib/unbound/util/ |
| H A D | module.h | 170 struct auth_zones; 521 struct auth_zones* auth_zones; member
|
| /freebsd/contrib/unbound/daemon/ |
| H A D | remote.c | 3198 struct auth_zones* az = worker->env.auth_zones; in do_auth_zone_reload() 3280 struct auth_zones* az = worker->env.auth_zones; in do_auth_zone_transfer() 3400 do_list_auth_zones(RES* ssl, struct auth_zones* az) in do_list_auth_zones() 3640 struct auth_zones *az = worker->env.auth_zones; in do_rpz_enable_disable() 4024 do_list_auth_zones(ssl, worker->env.auth_zones); in execute_cmd() 4679 struct auth_zones* auth_zones; member 5068 auth_zones_delete(ct->auth_zones); in fr_construct_clear() 5354 mem += auth_zones_get_mem(ct->auth_zones); in fr_printmem() 5491 fr->old_auth_zones = ct->auth_zones; in auth_zones_check_changes() 5494 lock_rw_rdlock(&ct->auth_zones->lock); in auth_zones_check_changes() [all …]
|
| H A D | daemon.c | 561 if((daemon->env->auth_zones = auth_zones_create()) == 0) { in daemon_init() 571 auth_zones_delete(daemon->env->auth_zones); in daemon_init() 1064 if(!auth_zones_apply_cfg(daemon->env->auth_zones, daemon->cfg, 1, in daemon_fork() 1188 if(daemon->env->auth_zones) in daemon_cleanup() 1189 auth_zones_cleanup(daemon->env->auth_zones); in daemon_cleanup() 1244 auth_zones_delete(daemon->env->auth_zones); in daemon_delete()
|
| H A D | worker.c | 717 struct reply_info** encode_repp, struct auth_zones* az) in apply_respip_action() 885 &encode_rep, worker->env.auth_zones)) { in answer_from_cache() 890 worker->env.auth_zones, worker->env.views, in answer_from_cache() 1199 if(!w->env.auth_zones) return; in answer_notify() 1201 if(auth_zones_notify(w->env.auth_zones, &w->env, qinfo->qname, in answer_notify() 1857 if(worker->env.auth_zones && in worker_handle_request() 1858 rpz_callback_from_worker_request(worker->env.auth_zones, in worker_handle_request() 1869 if(worker->env.auth_zones && in worker_handle_request() 1870 auth_zones_downstream_answer(worker->env.auth_zones, in worker_handle_request() 2450 if(worker->env.auth_zones in worker_init() [all …]
|
| H A D | remote.h | 257 struct auth_zones* old_auth_zones;
|
| H A D | stats.c | 337 if(worker->env.auth_zones) { in server_stats_compile()
|
| /freebsd/contrib/unbound/libunbound/ |
| H A D | libworker.c | 633 if(ctx->env->auth_zones && auth_zones_downstream_answer( in libworker_fg() 634 ctx->env->auth_zones, w->env, &qinfo, &edns, NULL, in libworker_fg() 713 if(ctx->env->auth_zones && auth_zones_downstream_answer( in libworker_attach_mesh() 714 ctx->env->auth_zones, w->env, &qinfo, &edns, NULL, in libworker_attach_mesh() 852 if(w->ctx->env->auth_zones && auth_zones_downstream_answer( in handle_newq() 853 w->ctx->env->auth_zones, w->env, &qinfo, &edns, NULL, in handle_newq()
|
| H A D | libunbound.c | 150 ctx->env->auth_zones = auth_zones_create(); in ub_ctx_create_nopipe() 151 if(!ctx->env->auth_zones) { in ub_ctx_create_nopipe() 162 auth_zones_delete(ctx->env->auth_zones); in ub_ctx_create_nopipe() 393 auth_zones_delete(ctx->env->auth_zones); in ub_ctx_delete()
|
| H A D | context.c | 89 if(!auth_zones_apply_cfg(ctx->env->auth_zones, cfg, 1, &is_rpz, in context_finalize()
|
| /freebsd/contrib/unbound/iterator/ |
| H A D | iterator.c | 1069 lock_rw_rdlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt() 1070 z = auth_zones_find_zone(qstate->env->auth_zones, delname, delnamelen, in auth_zone_delegpt() 1073 lock_rw_unlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt() 1077 lock_rw_unlock(&qstate->env->auth_zones->lock); in auth_zone_delegpt() 1432 if(qstate->env->auth_zones) { in processInitRequest() 2715 if(auth_zones_can_fallback(qstate->env->auth_zones, in processQueryTargets() 2726 } else if(auth_zones_lookup(qstate->env->auth_zones, &iq->qinfo_out, in processQueryTargets() 2848 if(qstate->env->auth_zones) { in processQueryTargets() 3552 if(qstate->env->auth_zones) { in processQueryResponse() 3672 if(!auth_zones_can_fallback(qstate->env->auth_zones, in processQueryResponse()
|
| /freebsd/contrib/unbound/smallapp/ |
| H A D | unbound-checkconf.c | 1052 struct auth_zones* az = auth_zones_create(); in check_auth()
|
| /freebsd/contrib/unbound/doc/ |
| H A D | Changelog | 4155 - Fix to create and destroy rpz_lock in auth_zones structure.
|