Home
last modified time | relevance | path

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

123

/netbsd-src/external/bsd/unbound/dist/util/
H A Dmodule.h172 struct module_qstate;
267 struct module_qstate* qstate, struct reply_info* rep, int rcode,
291 struct module_qstate* qstate, struct sockaddr_storage* addr,
303 typedef int inplace_cb_edns_back_parsed_func_type(struct module_qstate* qstate,
315 typedef int inplace_cb_query_response_func_type(struct module_qstate* qstate,
327 struct module_qstate* qstate, struct query_info* lookup_qinfo);
384 char* tls_auth_name, struct module_qstate* q, int* was_ratelimited);
393 void (*detach_subs)(struct module_qstate* qstate);
417 int (*attach_sub)(struct module_qstate* qstate,
419 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,
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.c344 int ssl_upstream, char* tls_auth_name, struct module_qstate* q, in fptr_whitelist_modenv_send_query()
354 struct module_qstate* qstate)) in fptr_whitelist_modenv_detach_subs()
362 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_attach_sub()
363 uint16_t qflags, int prime, int valrec, struct module_qstate** newq)) in fptr_whitelist_modenv_attach_sub()
371 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_add_sub()
372 uint16_t qflags, int prime, int valrec, struct module_qstate** newq, in fptr_whitelist_modenv_add_sub()
380 fptr_whitelist_modenv_kill_sub(void (*fptr)(struct module_qstate* newq)) in fptr_whitelist_modenv_kill_sub()
388 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_detect_cycle()
452 fptr_whitelist_mod_operate(void (*fptr)(struct module_qstate* qstate, in fptr_whitelist_mod_operate()
482 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) in errinf_to_str_bogus()
158 sldns_ede_code errinf_to_reason_bogus(struct module_qstate* qstate) in errinf_to_reason_bogus()
172 char* errinf_to_str_servfail(struct module_qstate* qstate) in errinf_to_str_servfail()
197 char* errinf_to_str_misc(struct module_qstate* qstate) in errinf_to_str_misc()
215 void errinf_rrset(struct module_qstate* qstate, struct ub_packed_rrset_key *rr) in errinf_rrset()
229 void errinf_dname(struct module_qstate* qstate, const char* str, uint8_t* dname) in errinf_dname()
407 copy_state_to_super(struct module_qstate* qstate, int ATTR_UNUSED(id), in copy_state_to_super()
[all …]
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/pythonmod/
H A Dpythonmod.h58 void pythonmod_operate(struct module_qstate* qstate, enum module_ev event,
62 void pythonmod_inform_super(struct module_qstate* qstate, int id,
63 struct module_qstate* super);
66 void pythonmod_clear(struct module_qstate* qstate, int id);
73 struct module_qstate* qstate, struct reply_info* rep, int rcode,
80 struct query_info* qinfo, uint16_t flags, struct module_qstate* qstate,
86 int python_inplace_cb_query_response(struct module_qstate* qstate,
90 int python_inplace_cb_edns_back_parsed_call(struct module_qstate* qstate,
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 …]
H A Dpythonmod_utils.h60 int storeQueryInCache(struct module_qstate* qstate, struct query_info* qinfo,
73 void invalidateQueryInCache(struct module_qstate* qstate,
85 int createResponse(struct module_qstate* qstate, struct sldns_buffer* pkt);
/netbsd-src/external/bsd/unbound/dist/edns-subnet/
H A Dsubnetmod.h123 void subnetmod_operate(struct module_qstate* qstate, enum module_ev event,
127 void subnetmod_inform_super(struct module_qstate* qstate, int id,
128 struct module_qstate* super);
131 void subnetmod_clear(struct module_qstate* qstate, int id);
141 struct module_qstate* qstate, struct sockaddr_storage* addr,
147 int ecs_edns_back_parsed(struct module_qstate* qstate, int id, void* cbargs);
150 int ecs_query_response(struct module_qstate* qstate, struct dns_msg* response,
158 struct module_qstate *qstate, struct regional *region);
/netbsd-src/external/bsd/unbound/dist/services/
H A Dmesh.h176 struct module_qstate s;
370 void mesh_detach_subs(struct module_qstate* qstate);
396 int mesh_attach_sub(struct module_qstate* qstate, struct query_info* qinfo,
397 uint16_t qflags, int prime, int valrec, struct module_qstate** newq);
424 int mesh_add_sub(struct module_qstate* qstate, struct query_info* qinfo,
425 uint16_t qflags, int prime, int valrec, struct module_qstate** newq,
463 void mesh_state_delete(struct module_qstate* qstate);
613 int mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo,
679 mesh_serve_expired_lookup(struct module_qstate* qstate,
/netbsd-src/external/bsd/unbound/dist/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()
681 dns64_operate(struct module_qstate* qstate, enum module_ev event, int id, in dns64_operate()
818 dns64_adjust_a(int id, struct module_qstate* super, struct module_qstate* qstate) in dns64_adjust_a()
915 dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super) in dns64_adjust_ptr()
[all …]
/netbsd-src/external/bsd/unbound/dist/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()
/netbsd-src/external/bsd/unbound/dist/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);
/netbsd-src/external/bsd/unbound/dist/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 …]
/netbsd-src/external/bsd/unbound/dist/validator/
H A Dval_utils.h51 struct module_qstate;
133 sldns_pkt_section section, struct module_qstate* qstate,
156 sldns_ede_code *reason_bogus, struct module_qstate* qstate);
180 sldns_ede_code *reason_bogus, struct module_qstate* qstate);
211 sldns_ede_code *reason_bogus, struct module_qstate* qstate);
242 char** reason, sldns_ede_code *reason_bogus, struct module_qstate* qstate);
H A Dvalidator.h255 void val_operate(struct module_qstate* qstate, enum module_ev event, int id,
265 void val_inform_super(struct module_qstate* qstate, int id,
266 struct module_qstate* super);
269 void val_clear(struct module_qstate* qstate, int id);
/netbsd-src/external/bsd/unbound/dist/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.c296 cachedb_new(struct module_qstate* qstate, int id) in cachedb_new()
319 error_response(struct module_qstate* qstate, int id, int rcode) in error_response()
338 calc_hash(struct module_qstate* qstate, char* buf, size_t len) in calc_hash()
386 prep_data(struct module_qstate* qstate, struct sldns_buffer* buf) in prep_data()
454 good_expiry_and_qinfo(struct module_qstate* qstate, struct sldns_buffer* buf) in good_expiry_and_qinfo()
516 parse_data(struct module_qstate* qstate, struct sldns_buffer* buf) in parse_data()
620 cachedb_extcache_lookup(struct module_qstate* qstate, struct cachedb_env* ie) in cachedb_extcache_lookup()
647 cachedb_extcache_store(struct module_qstate* qstate, struct cachedb_env* ie) in cachedb_extcache_store()
667 cachedb_intcache_lookup(struct module_qstate* qstate, struct cachedb_env* cde) in cachedb_intcache_lookup()
708 cachedb_intcache_store(struct module_qstate* qstate) in cachedb_intcache_store()
[all …]
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dmsgreply.h55 struct module_qstate;
622 struct module_qstate* qstate, struct reply_info* rep, int rcode,
642 struct query_info* qinfo, struct module_qstate* qstate,
663 struct query_info* qinfo, struct module_qstate* qstate,
685 struct query_info* qinfo, struct module_qstate* qstate,
709 uint8_t* zone, size_t zonelen, struct module_qstate* qstate,
721 struct module_qstate* qstate);
733 struct module_qstate* qstate, struct dns_msg* response);
/netbsd-src/external/bsd/unbound/dist/pythonmod/doc/examples/
H A Dexample5.rst39 EDNS option lists can be found in the :class:`module_qstate` class. There are
42 - :class:`module_qstate.edns_opts_front_in`: options that came from the client
44 - :class:`module_qstate.edns_opts_back_out`: options that will be sent to the
46 - :class:`module_qstate.edns_opts_back_in`: options that came from the server
48 - :class:`module_qstate.edns_opts_front_out`: options that will be sent to the
75 element is going to be allocated in :class:`module_qstate.region`. The data
101 :class:`module_qstate` flags:
103 - :class:`module_qstate.no_cache_lookup`: Modules *operating after* this module
105 - :class:`module_qstate.no_cache_store`: Modules *operating after* this module
/netbsd-src/external/bsd/unbound/dist/iterator/
H A Diterator.h508 void iter_operate(struct module_qstate* qstate, enum module_ev event, int id,
521 void iter_inform_super(struct module_qstate* qstate, int id,
522 struct module_qstate* super);
525 void iter_clear(struct module_qstate* qstate, int id);
/netbsd-src/external/bsd/unbound/dist/respip/
H A Drespip.h204 void respip_operate(struct module_qstate* qstate, enum module_ev event, int id,
208 void respip_inform_super(struct module_qstate* qstate, int id,
209 struct module_qstate* super);
212 void respip_clear(struct module_qstate* qstate, int id);

123