Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/unbound/util/
H A Dedns.c58 struct edns_strings* edns_strings = calloc(1, in edns_strings_create() local
59 sizeof(struct edns_strings)); in edns_strings_create()
60 if(!edns_strings) in edns_strings_create()
63 edns_strings_delete(edns_strings); in edns_strings_create()
66 return edns_strings; in edns_strings_create()
69 void edns_strings_delete(struct edns_strings* edns_strings) in edns_strings_delete() argument
71 if(!edns_strings) in edns_strings_delete()
73 regional_destroy(edns_strings->region); in edns_strings_delete()
74 free(edns_strings); in edns_strings_delete()
78 edns_strings_client_insert(struct edns_strings* edns_strings, in edns_strings_client_insert() argument
[all …]
H A Dedns.h55 struct edns_strings { struct
82 struct edns_strings* edns_strings_create(void);
87 void edns_strings_delete(struct edns_strings* edns_strings);
95 int edns_strings_apply_cfg(struct edns_strings* edns_strings,
H A Dmodule.h529 struct edns_strings* edns_strings; member
/freebsd-13.1/contrib/unbound/libunbound/
H A Dlibunbound.c158 ctx->env->edns_strings = edns_strings_create(); in ub_ctx_create_nopipe()
159 if(!ctx->env->edns_strings) { in ub_ctx_create_nopipe()
191 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_create()
205 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_create()
344 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_delete()
H A Dcontext.c87 if(!edns_strings_apply_cfg(ctx->env->edns_strings, cfg)) in context_finalize()
/freebsd-13.1/contrib/unbound/daemon/
H A Ddaemon.c294 if(!(daemon->env->edns_strings = edns_strings_create())) { in daemon_init()
646 if(!edns_strings_apply_cfg(daemon->env->edns_strings, daemon->cfg)) in daemon_fork()
777 edns_strings_delete(daemon->env->edns_strings); in daemon_delete()
/freebsd-13.1/contrib/unbound/services/
H A Doutside_network.c3379 &env->edns_strings->client_strings, addr, addrlen))) {
3381 env->edns_strings->client_string_opcode,