Searched refs:edns_strings (Results 1 – 9 of 9) sorted by relevance
| /freebsd/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 81 edns_strings_client_insert(struct edns_strings * edns_strings,struct sockaddr_storage * addr,socklen_t addrlen,int net,const char * string) edns_strings_client_insert() argument 101 edns_strings_apply_cfg(struct edns_strings * edns_strings,struct config_file * config) edns_strings_apply_cfg() argument [all...] |
| H A D | edns.h | 56 struct edns_strings { struct 115 * @return: newly created edns_strings, NULL on alloc failure. 117 struct edns_strings* edns_strings_create(void); 120 * @param edns_strings: struct to delete 122 void edns_strings_delete(struct edns_strings* edns_strings); 126 * @param edns_strings: edns strings to apply config to 130 int edns_strings_apply_cfg(struct edns_strings* edns_strings, 146 * @param edns_strings 59 client_stringsedns_strings global() argument 61 client_string_opcodeedns_strings global() argument 63 regionedns_strings global() argument [all...] |
| H A D | module.h | 546 struct edns_strings* edns_strings; 541 struct edns_strings* edns_strings; global() member
|
| /freebsd/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()
|
| /freebsd/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()
|
| /freebsd/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()
|
| /freebsd/contrib/unbound/services/ |
| H A D | outside_network.c | 3467 &env->edns_strings->client_strings, addr, addrlen))) { 3469 env->edns_strings->client_string_opcode,
|