Searched refs:edns_strings (Results 1 – 8 of 8) sorted by relevance
54 struct edns_strings* edns_strings_create(void) in edns_strings_create()56 struct edns_strings* edns_strings = calloc(1, in edns_strings_create() local57 sizeof(struct edns_strings)); in edns_strings_create()58 if(!edns_strings) in edns_strings_create()60 if(!(edns_strings->region = regional_create())) { in edns_strings_create()61 edns_strings_delete(edns_strings); in edns_strings_create()64 return edns_strings; in edns_strings_create()67 void edns_strings_delete(struct edns_strings* edns_strings) in edns_strings_delete() argument69 if(!edns_strings) in edns_strings_delete()71 regional_destroy(edns_strings->region); in edns_strings_delete()[all …]
55 struct edns_strings { struct91 struct edns_strings* edns_strings_create(void);96 void edns_strings_delete(struct edns_strings* edns_strings);104 int edns_strings_apply_cfg(struct edns_strings* edns_strings,
538 struct edns_strings* edns_strings; member
158 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()381 edns_strings_delete(ctx->env->edns_strings); in ub_ctx_delete()
88 if(!edns_strings_apply_cfg(ctx->env->edns_strings, cfg)) in context_finalize()
307 if(!(daemon->env->edns_strings = edns_strings_create())) { in daemon_init()740 if(!edns_strings_apply_cfg(daemon->env->edns_strings, daemon->cfg)) in daemon_fork()884 edns_strings_delete(daemon->env->edns_strings); in daemon_delete()
1239 &env->edns_strings->client_strings, in outnet_serviced_query()1242 env->edns_strings->client_string_opcode, in outnet_serviced_query()
3433 &env->edns_strings->client_strings, addr, addrlen))) {3435 env->edns_strings->client_string_opcode,