Searched refs:edns_strings (Results 1 – 9 of 9) sorted by relevance
| /src/contrib/unbound/util/ |
| H A D | edns.c | 59 struct edns_strings* edns_strings_create(void) in edns_strings_create() 61 struct edns_strings* edns_strings = calloc(1, in edns_strings_create() local 62 sizeof(struct edns_strings)); in edns_strings_create() 63 if(!edns_strings) in edns_strings_create() 65 if(!(edns_strings->region = regional_create())) { in edns_strings_create() 66 edns_strings_delete(edns_strings); in edns_strings_create() 69 return edns_strings; in edns_strings_create() 72 void edns_strings_delete(struct edns_strings* edns_strings) in edns_strings_delete() argument 74 if(!edns_strings) in edns_strings_delete() 76 regional_destroy(edns_strings->region); in edns_strings_delete() [all …]
|
| H A D | edns.h | 56 struct edns_strings { struct 117 struct edns_strings* edns_strings_create(void); 122 void edns_strings_delete(struct edns_strings* edns_strings); 130 int edns_strings_apply_cfg(struct edns_strings* edns_strings, 149 size_t edns_strings_get_mem(struct edns_strings* edns_strings); 157 void edns_strings_swap_tree(struct edns_strings* edns_strings, 158 struct edns_strings* data);
|
| H A D | module.h | 546 struct edns_strings* edns_strings; member
|
| /src/contrib/unbound/libunbound/ |
| H A D | libunbound.c | 160 ctx->env->edns_strings = edns_strings_create(); in ub_ctx_create_nopipe() 161 if(!ctx->env->edns_strings) { in ub_ctx_create_nopipe() 196 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_create() 212 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_create() 390 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_delete()
|
| H A D | context.c | 98 if(!edns_strings_apply_cfg(ctx->env->edns_strings, cfg)) in context_finalize()
|
| /src/contrib/unbound/daemon/ |
| H A D | daemon.c | 313 if(!(daemon->env->edns_strings = edns_strings_create())) { in daemon_init() 783 if(!edns_strings_apply_cfg(daemon->env->edns_strings, daemon->cfg)) in daemon_fork() 945 edns_strings_delete(daemon->env->edns_strings); in daemon_delete()
|
| H A D | remote.c | 4655 struct edns_strings* edns_strings; member 5034 edns_strings_delete(ct->edns_strings); in fr_construct_clear() 5303 mem += edns_strings_get_mem(ct->edns_strings); in fr_printmem() 5654 if(!(ct->edns_strings = edns_strings_create())) { in fr_construct_from_config() 5658 if(!edns_strings_apply_cfg(ct->edns_strings, newcfg)) { in fr_construct_from_config() 6399 edns_strings_swap_tree(env->edns_strings, ct->edns_strings); in fr_reload_config()
|
| /src/contrib/unbound/testcode/ |
| H A D | fake_event.c | 1332 &env->edns_strings->client_strings, in outnet_serviced_query() 1335 env->edns_strings->client_string_opcode, in outnet_serviced_query()
|
| /src/contrib/unbound/services/ |
| H A D | outside_network.c | 3467 &env->edns_strings->client_strings, addr, addrlen))) { 3469 env->edns_strings->client_string_opcode,
|