Home
last modified time | relevance | path

Searched refs:module_qstate (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-13.1/contrib/unbound/util/
H A Dmodule.h172 struct module_qstate;
384 void (*detach_subs)(struct module_qstate* qstate);
408 int (*attach_sub)(struct module_qstate* qstate,
410 int valrec, struct module_qstate** newq);
438 int (*add_sub)(struct module_qstate* qstate,
440 int valrec, struct module_qstate** newq,
450 void (*kill_sub)(struct module_qstate* newq);
465 int (*detect_cycle)(struct module_qstate* qstate,
603 struct module_qstate { struct
732 struct module_qstate* super);
[all …]
H A Dfptr_wlist.h216 int ssl_upstream, char* tls_auth_name, struct module_qstate* q,
226 struct module_qstate* qstate));
235 struct module_qstate* qstate, struct query_info* qinfo,
236 uint16_t qflags, int prime, int valrec, struct module_qstate** newq));
244 int fptr_whitelist_modenv_add_sub(int (*fptr)(struct module_qstate* qstate,
246 struct module_qstate** newq, struct mesh_state** sub));
253 int fptr_whitelist_modenv_kill_sub(void (*fptr)(struct module_qstate* newq));
262 struct module_qstate* qstate, struct query_info* qinfo,
287 int fptr_whitelist_mod_operate(void (*fptr)(struct module_qstate* qstate,
297 struct module_qstate* qstate, int id, struct module_qstate* super));
[all …]
H A Dfptr_wlist.c340 int ssl_upstream, char* tls_auth_name, struct module_qstate* q, in fptr_whitelist_modenv_send_query()
350 struct module_qstate* qstate)) in fptr_whitelist_modenv_detach_subs()
358 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_attach_sub()
359 uint16_t qflags, int prime, int valrec, struct module_qstate** newq)) in fptr_whitelist_modenv_attach_sub()
367 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_add_sub()
368 uint16_t qflags, int prime, int valrec, struct module_qstate** newq, in fptr_whitelist_modenv_add_sub()
376 fptr_whitelist_modenv_kill_sub(void (*fptr)(struct module_qstate* newq)) in fptr_whitelist_modenv_kill_sub()
384 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_detect_cycle()
448 fptr_whitelist_mod_operate(void (*fptr)(struct module_qstate* qstate, in fptr_whitelist_mod_operate()
478 struct module_qstate* qstate, int id, struct module_qstate* super)) in fptr_whitelist_mod_inform_super()
[all …]
/freebsd-13.1/contrib/unbound/dynlibmod/
H A Ddynlibmod.h57 void dynlibmod_operate(struct module_qstate* qstate, enum module_ev event,
61 void dynlibmod_inform_super(struct module_qstate* qstate, int id,
62 struct module_qstate* super);
65 void dynlibmod_clear(struct module_qstate* qstate, int id);
71 struct module_qstate* qstate, struct reply_info* rep, int rcode,
77 struct module_qstate* qstate, struct sockaddr_storage* addr,
81 int dynlib_inplace_cb_edns_back_parsed(struct module_qstate* qstate,
84 int dynlib_inplace_cb_query_response(struct module_qstate* qstate,
106 typedef void (*func_operate_t)(struct module_qstate*, enum module_ev, int, struct outbound_entry*);
107 typedef void (*func_inform_t)(struct module_qstate*, int, struct module_qstate*);
[all …]
H A Ddynlibmod.c178 void dynlibmod_operate(struct module_qstate* qstate, enum module_ev event, in dynlibmod_operate()
186 void dynlibmod_inform_super(struct module_qstate* qstate, int id, in dynlibmod_inform_super()
187 struct module_qstate* super) { in dynlibmod_inform_super()
194 void dynlibmod_clear(struct module_qstate* qstate, int id) { in dynlibmod_clear()
213 struct module_qstate* qstate, struct reply_info* rep, int rcode, in dynlib_inplace_cb_reply_generic()
222 struct module_qstate* qstate, struct sockaddr_storage* addr, in dynlib_inplace_cb_query_generic()
229 int dynlib_inplace_cb_edns_back_parsed(struct module_qstate* qstate, in dynlib_inplace_cb_edns_back_parsed()
235 int dynlib_inplace_cb_query_response(struct module_qstate* qstate, in dynlib_inplace_cb_query_response()
/freebsd-13.1/contrib/unbound/edns-subnet/
H A Dsubnetmod.h113 void subnetmod_operate(struct module_qstate* qstate, enum module_ev event,
117 void subnetmod_inform_super(struct module_qstate* qstate, int id,
118 struct module_qstate* super);
121 void subnetmod_clear(struct module_qstate* qstate, int id);
131 struct module_qstate* qstate, struct sockaddr_storage* addr,
137 int ecs_edns_back_parsed(struct module_qstate* qstate, int id, void* cbargs);
140 int ecs_query_response(struct module_qstate* qstate, struct dns_msg* response,
/freebsd-13.1/contrib/unbound/services/
H A Dmesh.h174 struct module_qstate s;
357 void mesh_detach_subs(struct module_qstate* qstate);
383 int mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo,
384 uint16_t qflags, int prime, int valrec, struct module_qstate** newq);
411 int mesh_add_sub(struct module_qstate* qstate, struct query_info* qinfo,
412 uint16_t qflags, int prime, int valrec, struct module_qstate** newq,
450 void mesh_state_delete(struct module_qstate* qstate);
608 int mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo,
674 mesh_serve_expired_lookup(struct module_qstate* qstate,
/freebsd-13.1/contrib/unbound/dns64/
H A Ddns64.h59 void dns64_operate(struct module_qstate* qstate, enum module_ev event, int id,
62 void dns64_inform_super(struct module_qstate* qstate, int id,
63 struct module_qstate* super);
66 void dns64_clear(struct module_qstate* qstate, int id);
H A Ddns64.c460 handle_ipv6_ptr(struct module_qstate* qstate, int id) in handle_ipv6_ptr()
463 struct module_qstate* subq = NULL; in handle_ipv6_ptr()
512 generate_type_A_query(struct module_qstate* qstate, int id) in generate_type_A_query()
514 struct module_qstate* subq = NULL; in generate_type_A_query()
573 handle_event_pass(struct module_qstate* qstate, int id) in handle_event_pass()
616 handle_event_moddone(struct module_qstate* qstate, int id) in handle_event_moddone()
812 dns64_adjust_a(int id, struct module_qstate* super, struct module_qstate* qstate) in dns64_adjust_a()
909 dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super) in dns64_adjust_ptr()
945 dns64_inform_super(struct module_qstate* qstate, int id, in dns64_inform_super()
946 struct module_qstate* super) in dns64_inform_super()
[all …]
/freebsd-13.1/contrib/unbound/validator/
H A Dval_utils.h50 struct module_qstate;
132 struct module_qstate* qstate);
148 struct module_qstate* qstate);
169 struct module_qstate* qstate);
192 struct module_qstate* qstate);
222 struct module_qstate* qstate);
253 int downprot, char** reason, struct module_qstate* qstate);
H A Dvalidator.h240 void val_operate(struct module_qstate* qstate, enum module_ev event, int id,
250 void val_inform_super(struct module_qstate* qstate, int id,
251 struct module_qstate* super);
254 void val_clear(struct module_qstate* qstate, int id);
H A Dval_sigcrypt.h50 struct module_qstate;
268 sldns_pkt_section section, struct module_qstate* qstate);
286 sldns_pkt_section section, struct module_qstate* qstate);
308 struct module_qstate* qstate);
336 sldns_pkt_section section, struct module_qstate* qstate);
/freebsd-13.1/contrib/unbound/ipset/
H A Dipset.h58 void ipset_operate(struct module_qstate* qstate, enum module_ev event,
61 void ipset_inform_super(struct module_qstate* qstate, int id,
62 struct module_qstate* super);
64 void ipset_clear(struct module_qstate* qstate, int id);
H A Dipset.c34 static int error_response(struct module_qstate* qstate, int id, int rcode) { in error_response()
273 static int ipset_new(struct module_qstate* qstate, int id) { in ipset_new()
288 void ipset_operate(struct module_qstate *qstate, enum module_ev event, int id, in ipset_operate()
344 void ipset_inform_super(struct module_qstate *ATTR_UNUSED(qstate), in ipset_inform_super()
345 int ATTR_UNUSED(id), struct module_qstate *ATTR_UNUSED(super)) { in ipset_inform_super()
350 void ipset_clear(struct module_qstate *qstate, int id) { in ipset_clear()
/freebsd-13.1/contrib/unbound/ipsecmod/
H A Dipsecmod.h81 void ipsecmod_operate(struct module_qstate* qstate, enum module_ev event,
84 void ipsecmod_inform_super(struct module_qstate* qstate, int id,
85 struct module_qstate* super);
87 void ipsecmod_clear(struct module_qstate* qstate, int id);
H A Dipsecmod.c102 ipsecmod_new(struct module_qstate* qstate, int id) in ipsecmod_new()
124 ipsecmod_error(struct module_qstate* qstate, int id) in ipsecmod_error()
143 generate_request(struct module_qstate* qstate, int id, uint8_t* name, in generate_request()
146 struct module_qstate* newq; in generate_request()
249 call_hook(struct module_qstate* qstate, struct ipsecmod_qstate* iq, in call_hook()
386 ipsecmod_handle_query(struct module_qstate* qstate, in ipsecmod_handle_query()
474 ipsecmod_handle_response(struct module_qstate* qstate, in ipsecmod_handle_response()
512 ipsecmod_operate(struct module_qstate* qstate, enum module_ev event, int id, in ipsecmod_operate()
566 ipsecmod_inform_super(struct module_qstate* qstate, int id, in ipsecmod_inform_super()
567 struct module_qstate* super) in ipsecmod_inform_super()
[all …]
/freebsd-13.1/contrib/unbound/cachedb/
H A Dcachedb.h97 void cachedb_operate(struct module_qstate* qstate, enum module_ev event,
100 void cachedb_inform_super(struct module_qstate* qstate, int id,
101 struct module_qstate* super);
103 void cachedb_clear(struct module_qstate* qstate, int id);
H A Dcachedb.c289 cachedb_new(struct module_qstate* qstate, int id) in cachedb_new()
312 error_response(struct module_qstate* qstate, int id, int rcode) in error_response()
331 calc_hash(struct module_qstate* qstate, char* buf, size_t len) in calc_hash()
379 prep_data(struct module_qstate* qstate, struct sldns_buffer* buf) in prep_data()
618 cachedb_intcache_lookup(struct module_qstate* qstate) in cachedb_intcache_lookup()
655 cachedb_intcache_store(struct module_qstate* qstate) in cachedb_intcache_store()
677 cachedb_handle_query(struct module_qstate* qstate, in cachedb_handle_query()
753 cachedb_handle_response(struct module_qstate* qstate, in cachedb_handle_response()
821 cachedb_inform_super(struct module_qstate* ATTR_UNUSED(qstate), in cachedb_inform_super()
822 int ATTR_UNUSED(id), struct module_qstate* ATTR_UNUSED(super)) in cachedb_inform_super()
[all …]
/freebsd-13.1/contrib/unbound/dynlibmod/examples/
H A Dhelloworld.c33 struct module_qstate* qstate, struct reply_info* rep, int rcode,
62 EXPORT void operate(struct module_qstate* qstate, enum module_ev event, in operate()
93 EXPORT void inform_super(struct module_qstate* qstate, int id, in inform_super()
94 struct module_qstate* super) { in inform_super()
100 EXPORT void clear(struct module_qstate* qstate, int id) { in clear()
119 struct module_qstate* qstate, struct reply_info* rep, int rcode, in reply_callback()
/freebsd-13.1/contrib/unbound/util/data/
H A Dmsgreply.h54 struct module_qstate;
565 struct module_qstate* qstate, struct reply_info* rep, int rcode,
585 struct query_info* qinfo, struct module_qstate* qstate,
606 struct query_info* qinfo, struct module_qstate* qstate,
628 struct query_info* qinfo, struct module_qstate* qstate,
652 uint8_t* zone, size_t zonelen, struct module_qstate* qstate,
664 struct module_qstate* qstate);
676 struct module_qstate* qstate, struct dns_msg* response);
/freebsd-13.1/contrib/unbound/iterator/
H A Diterator.h455 void iter_operate(struct module_qstate* qstate, enum module_ev event, int id,
468 void iter_inform_super(struct module_qstate* qstate, int id,
469 struct module_qstate* super);
472 void iter_clear(struct module_qstate* qstate, int id);
H A Diter_utils.h59 struct module_qstate;
161 void iter_mark_cycle_targets(struct module_qstate* qstate, struct delegpt* dp);
169 void iter_mark_pside_cycle_targets(struct module_qstate* qstate,
395 int iter_stub_fwd_no_cache(struct module_qstate *qstate,
H A Diterator.c225 error_supers(struct module_qstate* qstate, int id, struct module_qstate* super) in error_supers()
835 struct module_qstate* subq; in prime_root()
899 struct module_qstate* subq; in prime_stub()
1080 struct module_qstate* subq; in generate_a_aaaa_check()
1134 struct module_qstate* subq; in generate_ns_check()
1200 struct module_qstate* subq; in generate_dnskey_prefetch()
1752 struct module_qstate* subq; in generate_parentside_target_query()
1803 struct module_qstate* subq; in generate_target_query()
3194 prime_supers(struct module_qstate* qstate, int id, struct module_qstate* forq) in prime_supers()
3302 struct module_qstate* forq) in processTargetResponse()
[all …]
/freebsd-13.1/contrib/unbound/respip/
H A Drespip.h201 void respip_operate(struct module_qstate* qstate, enum module_ev event, int id,
205 void respip_inform_super(struct module_qstate* qstate, int id,
206 struct module_qstate* super);
209 void respip_clear(struct module_qstate* qstate, int id);
/freebsd-13.1/contrib/unbound/libunbound/
H A Dworker.h49 struct module_qstate;
81 struct module_qstate* q, int* was_ratelimited);
137 struct module_qstate* q, int* was_ratelimited);

123