Home
last modified time | relevance | path

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

123

/src/contrib/unbound/util/
H A Dmodule.h172 struct module_qstate;
269 struct module_qstate* qstate, struct reply_info* rep, int rcode,
293 struct module_qstate* qstate, struct sockaddr_storage* addr,
305 typedef int inplace_cb_edns_back_parsed_func_type(struct module_qstate* qstate,
317 typedef int inplace_cb_query_response_func_type(struct module_qstate* qstate,
330 struct module_qstate* qstate, struct query_info* lookup_qinfo,
388 char* tls_auth_name, struct module_qstate* q, int* was_ratelimited);
397 void (*detach_subs)(struct module_qstate* qstate);
421 int (*attach_sub)(struct module_qstate* qstate,
423 int valrec, struct module_qstate** newq);
[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,
303 int fptr_whitelist_mod_operate(void (*fptr)(struct module_qstate* qstate,
313 struct module_qstate* qstate, int id, struct module_qstate* super));
[all …]
H A Dfptr_wlist.c364 int ssl_upstream, char* tls_auth_name, struct module_qstate* q, in fptr_whitelist_modenv_send_query()
374 struct module_qstate* qstate)) in fptr_whitelist_modenv_detach_subs()
382 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_attach_sub()
383 uint16_t qflags, int prime, int valrec, struct module_qstate** newq)) in fptr_whitelist_modenv_attach_sub()
391 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_add_sub()
392 uint16_t qflags, int prime, int valrec, struct module_qstate** newq, in fptr_whitelist_modenv_add_sub()
400 fptr_whitelist_modenv_kill_sub(void (*fptr)(struct module_qstate* newq)) in fptr_whitelist_modenv_kill_sub()
408 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_detect_cycle()
494 fptr_whitelist_mod_operate(void (*fptr)(struct module_qstate* qstate, in fptr_whitelist_mod_operate()
524 struct module_qstate* qstate, int id, struct module_qstate* super)) in fptr_whitelist_mod_inform_super()
[all …]
H A Dmodule.c78 void errinf(struct module_qstate* qstate, const char* str) in errinf()
83 void errinf_ede(struct module_qstate* qstate, in errinf_ede()
112 void errinf_origin(struct module_qstate* qstate, struct sock_list *origin) in errinf_origin()
132 char* errinf_to_str_bogus(struct module_qstate* qstate, struct regional* region) in errinf_to_str_bogus()
161 sldns_ede_code errinf_to_reason_bogus(struct module_qstate* qstate) in errinf_to_reason_bogus()
175 char* errinf_to_str_servfail(struct module_qstate* qstate) in errinf_to_str_servfail()
200 char* errinf_to_str_misc(struct module_qstate* qstate) in errinf_to_str_misc()
218 void errinf_rrset(struct module_qstate* qstate, struct ub_packed_rrset_key *rr) in errinf_rrset()
232 void errinf_dname(struct module_qstate* qstate, const char* str, uint8_t* dname) in errinf_dname()
410 copy_state_to_super(struct module_qstate* qstate, int ATTR_UNUSED(id), in copy_state_to_super()
[all …]
/src/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.c179 void dynlibmod_operate(struct module_qstate* qstate, enum module_ev event, in dynlibmod_operate()
187 void dynlibmod_inform_super(struct module_qstate* qstate, int id, in dynlibmod_inform_super()
188 struct module_qstate* super) { in dynlibmod_inform_super()
195 void dynlibmod_clear(struct module_qstate* qstate, int id) { in dynlibmod_clear()
214 struct module_qstate* qstate, struct reply_info* rep, int rcode, in dynlib_inplace_cb_reply_generic()
223 struct module_qstate* qstate, struct sockaddr_storage* addr, in dynlib_inplace_cb_query_generic()
230 int dynlib_inplace_cb_edns_back_parsed(struct module_qstate* qstate, in dynlib_inplace_cb_edns_back_parsed()
236 int dynlib_inplace_cb_query_response(struct module_qstate* qstate, in dynlib_inplace_cb_query_response()
/src/contrib/unbound/edns-subnet/
H A Dsubnetmod.h131 void subnetmod_operate(struct module_qstate* qstate, enum module_ev event,
135 void subnetmod_inform_super(struct module_qstate* qstate, int id,
136 struct module_qstate* super);
139 void subnetmod_clear(struct module_qstate* qstate, int id);
149 struct module_qstate* qstate, struct sockaddr_storage* addr,
155 int ecs_edns_back_parsed(struct module_qstate* qstate, int id, void* cbargs);
158 int ecs_query_response(struct module_qstate* qstate, struct dns_msg* response,
166 struct module_qstate *qstate, struct regional *region);
/src/contrib/unbound/cachedb/
H A Dcachedb.h98 void cachedb_operate(struct module_qstate* qstate, enum module_ev event,
101 void cachedb_inform_super(struct module_qstate* qstate, int id,
102 struct module_qstate* super);
104 void cachedb_clear(struct module_qstate* qstate, int id);
128 void cachedb_msg_remove(struct module_qstate* qstate);
H A Dcachedb.c290 cachedb_new(struct module_qstate* qstate, int id) in cachedb_new()
313 error_response(struct module_qstate* qstate, int id, int rcode) in error_response()
381 prep_data(struct module_qstate* qstate, struct sldns_buffer* buf) in prep_data()
449 good_expiry_and_qinfo(struct module_qstate* qstate, struct sldns_buffer* buf) in good_expiry_and_qinfo()
539 parse_data(struct module_qstate* qstate, struct sldns_buffer* buf, in parse_data()
649 cachedb_extcache_lookup(struct module_qstate* qstate, struct cachedb_env* ie, in cachedb_extcache_lookup()
677 cachedb_extcache_store(struct module_qstate* qstate, struct cachedb_env* ie) in cachedb_extcache_store()
697 cachedb_intcache_lookup(struct module_qstate* qstate, struct cachedb_env* cde) in cachedb_intcache_lookup()
739 cachedb_intcache_store(struct module_qstate* qstate, int msg_expired) in cachedb_intcache_store()
788 cachedb_handle_query(struct module_qstate* qstate, in cachedb_handle_query()
[all …]
/src/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()
549 dns64_always_synth_for_qname(struct module_qstate* qstate, int id) in dns64_always_synth_for_qname()
573 handle_event_pass(struct module_qstate* qstate, int id) in handle_event_pass()
617 handle_event_moddone(struct module_qstate* qstate, int id) in handle_event_moddone()
682 dns64_operate(struct module_qstate* qstate, enum module_ev event, int id, in dns64_operate()
820 dns64_adjust_a(int id, struct module_qstate* super, struct module_qstate* qstate) in dns64_adjust_a()
918 dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super) in dns64_adjust_ptr()
[all …]
/src/contrib/unbound/services/
H A Dmesh.h189 struct module_qstate s;
383 void mesh_detach_subs(struct module_qstate* qstate);
409 int mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo,
410 uint16_t qflags, int prime, int valrec, struct module_qstate** newq);
437 int mesh_add_sub(struct module_qstate* qstate, struct query_info* qinfo,
438 uint16_t qflags, int prime, int valrec, struct module_qstate** newq,
476 void mesh_state_delete(struct module_qstate* qstate);
626 int mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo,
693 mesh_serve_expired_lookup(struct module_qstate* qstate,
/src/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()
475 ipsecmod_handle_response(struct module_qstate* qstate, in ipsecmod_handle_response()
513 ipsecmod_operate(struct module_qstate* qstate, enum module_ev event, int id, in ipsecmod_operate()
567 ipsecmod_inform_super(struct module_qstate* qstate, int id, in ipsecmod_inform_super()
568 struct module_qstate* super) in ipsecmod_inform_super()
[all …]
/src/contrib/unbound/ipset/
H A Dipset.h62 void ipset_operate(struct module_qstate* qstate, enum module_ev event,
65 void ipset_inform_super(struct module_qstate* qstate, int id,
66 struct module_qstate* super);
68 void ipset_clear(struct module_qstate* qstate, int id);
/src/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()
/src/contrib/unbound/validator/
H A Dval_utils.h51 struct module_qstate;
135 sldns_pkt_section section, struct module_qstate* qstate,
160 sldns_ede_code *reason_bogus, struct module_qstate* qstate,
187 sldns_ede_code *reason_bogus, struct module_qstate* qstate,
221 sldns_ede_code *reason_bogus, struct module_qstate* qstate,
255 char** reason, sldns_ede_code *reason_bogus, struct module_qstate* qstate,
H A Dvalidator.h256 void val_operate(struct module_qstate* qstate, enum module_ev event, int id,
266 void val_inform_super(struct module_qstate* qstate, int id,
267 struct module_qstate* super);
270 void val_clear(struct module_qstate* qstate, int id);
H A Dval_sigcrypt.h51 struct module_qstate;
276 sldns_pkt_section section, struct module_qstate* qstate, int* verified,
296 sldns_pkt_section section, struct module_qstate* qstate);
326 sldns_pkt_section section, struct module_qstate* qstate);
/src/contrib/unbound/util/data/
H A Dmsgreply.h55 struct module_qstate;
659 struct module_qstate* qstate, struct reply_info* rep, int rcode,
679 struct query_info* qinfo, struct module_qstate* qstate,
700 struct query_info* qinfo, struct module_qstate* qstate,
722 struct query_info* qinfo, struct module_qstate* qstate,
746 uint8_t* zone, size_t zonelen, struct module_qstate* qstate,
758 struct module_qstate* qstate);
770 struct module_qstate* qstate, struct dns_msg* response);
/src/contrib/unbound/iterator/
H A Diterator.h520 void iter_operate(struct module_qstate* qstate, enum module_ev event, int id,
533 void iter_inform_super(struct module_qstate* qstate, int id,
534 struct module_qstate* super);
537 void iter_clear(struct module_qstate* qstate, int id);
H A Diter_utils.h59 struct module_qstate;
174 void iter_mark_cycle_targets(struct module_qstate* qstate, struct delegpt* dp);
182 void iter_mark_pside_cycle_targets(struct module_qstate* qstate,
418 int iter_stub_fwd_no_cache(struct module_qstate *qstate,
/src/contrib/unbound/pythonmod/
H A Dinterface.i732 char* tls_auth_name, struct module_qstate* q, int* was_ratelimited);
733 void (*detach_subs)(struct module_qstate* qstate);
734 int (*attach_sub)(struct module_qstate* qstate,
736 int valrec, struct module_qstate** newq);
737 void (*kill_sub)(struct module_qstate* newq);
738 int (*detect_cycle)(struct module_qstate* qstate,
779 %ignore module_qstate::ext_state;
780 %ignore module_qstate::minfo;
785 %ignore module_qstate::edns_opts_front_in;
786 %ignore module_qstate::edns_opts_back_out;
[all …]
/src/contrib/unbound/respip/
H A Drespip.h213 void respip_operate(struct module_qstate* qstate, enum module_ev event, int id,
217 void respip_inform_super(struct module_qstate* qstate, int id,
218 struct module_qstate* super);
221 void respip_clear(struct module_qstate* qstate, int id);
/src/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