Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/unbound/util/
H A Dedns.c61 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()
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()
77 free(edns_strings); in edns_strings_delete()
81 edns_strings_client_insert(struct edns_strings* edns_strings, in edns_strings_client_insert() argument
[all …]
H A Dedns.h56 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,
H A Dmodule.h541 struct edns_strings* edns_strings; member
/freebsd-14.2/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-14.2/contrib/unbound/daemon/
H A Ddaemon.c313 if(!(daemon->env->edns_strings = edns_strings_create())) { in daemon_init()
784 if(!edns_strings_apply_cfg(daemon->env->edns_strings, daemon->cfg)) in daemon_fork()
942 edns_strings_delete(daemon->env->edns_strings); in daemon_delete()
/freebsd-14.2/contrib/unbound/services/
H A Doutside_network.c3452 &env->edns_strings->client_strings, addr, addrlen))) {
3454 env->edns_strings->client_string_opcode,