Home
last modified time | relevance | path

Searched refs:edns_strings (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/unbound/util/
H A Dedns.c59 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 Dedns.h56 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 Dmodule.h546 struct edns_strings* edns_strings;
541 struct edns_strings* edns_strings; global() member
/freebsd/contrib/unbound/libunbound/
H A Dlibunbound.c160 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 Dcontext.c98 if(!edns_strings_apply_cfg(ctx->env->edns_strings, cfg)) in context_finalize()
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c313 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 Dremote.c4655 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 Dfake_event.c1332 &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 Doutside_network.c3467 &env->edns_strings->client_strings, addr, addrlen))) {
3469 env->edns_strings->client_string_opcode,