Home
last modified time | relevance | path

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

123

/freebsd/contrib/unbound/util/
H A Dmodule.h172 struct module_qstate;
268 struct module_qstate* qstate, struct reply_info* rep, int rcode,
292 struct module_qstate* qstate, struct sockaddr_storage* addr,
304 typedef int inplace_cb_edns_back_parsed_func_type(struct module_qstate* qstate,
316 typedef int inplace_cb_query_response_func_type(struct module_qstate* qstate,
329 struct module_qstate* qstate, struct query_info* lookup_qinfo,
387 char* tls_auth_name, struct module_qstate* q, int* was_ratelimited);
396 void (*detach_subs)(struct module_qstate* qstate);
420 int (*attach_sub)(struct module_qstate* qstate,
422 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.c361 int ssl_upstream, char* tls_auth_name, struct module_qstate* q, in fptr_whitelist_modenv_send_query()
371 struct module_qstate* qstate)) in fptr_whitelist_modenv_detach_subs()
379 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_attach_sub()
380 uint16_t qflags, int prime, int valrec, struct module_qstate** newq)) in fptr_whitelist_modenv_attach_sub()
388 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_add_sub()
389 uint16_t qflags, int prime, int valrec, struct module_qstate** newq, in fptr_whitelist_modenv_add_sub()
397 fptr_whitelist_modenv_kill_sub(void (*fptr)(struct module_qstate* newq)) in fptr_whitelist_modenv_kill_sub()
405 struct module_qstate* qstate, struct query_info* qinfo, in fptr_whitelist_modenv_detect_cycle()
491 fptr_whitelist_mod_operate(void (*fptr)(struct module_qstate* qstate, in fptr_whitelist_mod_operate()
521 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 …]
/freebsd/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()
/freebsd/contrib/unbound/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);
/freebsd/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.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()
379 prep_data(struct module_qstate* qstate, struct sldns_buffer* buf) in prep_data()
447 good_expiry_and_qinfo(struct module_qstate* qstate, struct sldns_buffer* buf) in good_expiry_and_qinfo()
537 parse_data(struct module_qstate* qstate, struct sldns_buffer* buf, in parse_data()
647 cachedb_extcache_lookup(struct module_qstate* qstate, struct cachedb_env* ie, in cachedb_extcache_lookup()
675 cachedb_extcache_store(struct module_qstate* qstate, struct cachedb_env* ie) in cachedb_extcache_store()
695 cachedb_intcache_lookup(struct module_qstate* qstate, struct cachedb_env* cde) in cachedb_intcache_lookup()
737 cachedb_intcache_store(struct module_qstate* qstate, int msg_expired) in cachedb_intcache_store()
785 cachedb_handle_query(struct module_qstate* qstate, in cachedb_handle_query()
[all …]
/freebsd/contrib/unbound/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,
680 mesh_serve_expired_lookup(struct module_qstate* qstate,
/freebsd/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()
681 dns64_operate(struct module_qstate* qstate, enum module_ev event, int id, in dns64_operate()
819 dns64_adjust_a(int id, struct module_qstate* super, struct module_qstate* qstate) in dns64_adjust_a()
917 dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super) in dns64_adjust_ptr()
[all …]
/freebsd/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/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);
/freebsd/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/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.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);
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);
/freebsd/contrib/unbound/util/data/
H A Dmsgreply.h55 struct module_qstate;
657 struct module_qstate* qstate, struct reply_info* rep, int rcode,
677 struct query_info* qinfo, struct module_qstate* qstate,
698 struct query_info* qinfo, struct module_qstate* qstate,
720 struct query_info* qinfo, struct module_qstate* qstate,
744 uint8_t* zone, size_t zonelen, struct module_qstate* qstate,
756 struct module_qstate* qstate);
768 struct module_qstate* qstate, struct dns_msg* response);
/freebsd/contrib/unbound/iterator/
H A Diterator.h514 void iter_operate(struct module_qstate* qstate, enum module_ev event, int id,
527 void iter_inform_super(struct module_qstate* qstate, int id,
528 struct module_qstate* super);
531 void iter_clear(struct module_qstate* qstate, int id);
H A Diter_utils.h59 struct module_qstate;
171 void iter_mark_cycle_targets(struct module_qstate* qstate, struct delegpt* dp);
179 void iter_mark_pside_cycle_targets(struct module_qstate* qstate,
415 int iter_stub_fwd_no_cache(struct module_qstate *qstate,
H A Diter_scrub.h51 struct module_qstate;
69 struct module_env* env, struct module_qstate* qstate,
/freebsd/contrib/unbound/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);
/freebsd/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