Home
last modified time | relevance | path

Searched refs:module_env (Results 1 – 25 of 74) sorted by relevance

123

/netbsd-src/external/bsd/unbound/dist/dynlibmod/
H A Ddynlibmod.h51 int dynlibmod_init(struct module_env* env, int id);
54 void dynlibmod_deinit(struct module_env* env, int id);
68 size_t dynlibmod_get_mem(struct module_env* env, int id);
89 struct module_env* env, int id);
92 inplace_cb_delete_wrapped(struct module_env* env, enum inplace_cb_list_type type,
104 typedef int (*func_init_t)(struct module_env*, int);
105 typedef void (*func_deinit_t)(struct module_env*, int);
109 typedef size_t (*func_get_mem_t)(struct module_env*, int);
110 typedef void (*inplace_cb_delete_wrapped_t)(struct module_env*, enum inplace_cb_list_type, int);
111 …(*inplace_cb_register_wrapped_t)(void*, enum inplace_cb_list_type, void*, struct module_env*, int);
/netbsd-src/external/bsd/unbound/dist/iterator/
H A Diter_utils.h51 struct module_env;
109 struct module_env* env, struct delegpt* dp, uint8_t* name,
151 void iter_dns_store(struct module_env* env, struct query_info* qinf,
208 int iter_qname_indicates_dnssec(struct module_env* env,
221 int iter_indicates_dnssec(struct module_env* env, struct delegpt* dp,
285 void iter_store_parentside_rrset(struct module_env* env,
294 void iter_store_parentside_NS(struct module_env* env, struct reply_info* rep);
304 void iter_store_parentside_neg(struct module_env* env,
319 int iter_lookup_parent_NS_from_cache(struct module_env* env,
333 int iter_lookup_parent_glue_from_cache(struct module_env* env,
[all …]
H A Diterator.h502 int iter_init(struct module_env* env, int id);
505 void iter_deinit(struct module_env* env, int id);
528 size_t iter_get_mem(struct module_env* env, int id);
H A Diter_scrub.h49 struct module_env;
69 struct module_env* env, struct module_qstate* qstate,
/netbsd-src/external/bsd/unbound/dist/services/cache/
H A Ddns.h46 struct module_env;
95 int dns_cache_store(struct module_env* env, struct query_info* qinf,
121 void dns_cache_store_msg(struct module_env* env, struct query_info* qinfo,
145 struct delegpt* dns_cache_find_delegation(struct module_env* env,
163 struct dns_msg* tomsg(struct module_env* env, struct query_info* q,
194 struct dns_msg* dns_cache_lookup(struct module_env* env,
207 int cache_fill_missing(struct module_env* env, uint16_t qclass,
258 int dns_cache_prefetch_adjust(struct module_env* env, struct query_info* qinfo,
263 struct msgreply_entry* msg_cache_lookup(struct module_env* env,
276 void msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen,
/netbsd-src/external/bsd/unbound/dist/util/
H A Dmodule.h333 struct module_env { struct
650 struct module_env* env;
715 int (*init)(struct module_env* env, int id);
722 void (*deinit)(struct module_env* env, int id);
771 size_t (*get_mem)(struct module_env* env, int id);
860 int edns_known_options_init(struct module_env* env);
866 void edns_known_options_delete(struct module_env* env);
881 int no_aggregation, struct module_env* env);
895 struct module_env* env, int id);
904 inplace_cb_delete(struct module_env* env, enum inplace_cb_list_type type,
[all …]
H A Dmodule.c241 edns_known_options_init(struct module_env* env) in edns_known_options_init()
251 edns_known_options_delete(struct module_env* env) in edns_known_options_delete()
260 int no_aggregation, struct module_env* env) in edns_register_option()
294 struct module_env* env, int id) in inplace_cb_register()
323 inplace_cb_delete(struct module_env* env, enum inplace_cb_list_type type, in inplace_cb_delete()
350 edns_option_is_known(uint16_t opt_code, struct module_env* env) in edns_option_is_known()
360 edns_bypass_cache_stage(struct edns_option* list, struct module_env* env) in edns_bypass_cache_stage()
372 unique_mesh_state(struct edns_option* list, struct module_env* env) in unique_mesh_state()
386 log_edns_known_options(enum verbosity_value level, struct module_env* env) in log_edns_known_options()
H A Dfptr_wlist.h271 int fptr_whitelist_mod_init(int (*fptr)(struct module_env* env, int id));
279 int fptr_whitelist_mod_deinit(void (*fptr)(struct module_env* env, int id));
314 int fptr_whitelist_mod_get_mem(size_t (*fptr)(struct module_env* env, int id));
/netbsd-src/external/bsd/unbound/dist/cachedb/
H A Dcachedb.h76 int (*init)(struct module_env*, struct cachedb_env*);
79 void (*deinit)(struct module_env*, struct cachedb_env*);
82 int (*lookup)(struct module_env*, struct cachedb_env*, char*,
86 void (*store)(struct module_env*, struct cachedb_env*, char*,
93 int cachedb_init(struct module_env* env, int id);
95 void cachedb_deinit(struct module_env* env, int id);
105 size_t cachedb_get_mem(struct module_env* env, int id);
H A Dredis.c65 static redisReply* redis_command(struct module_env*, struct cachedb_env*,
138 redis_init(struct module_env* env, struct cachedb_env* cachedb_env) in redis_init()
208 redis_deinit(struct module_env* env, struct cachedb_env* cachedb_env) in redis_deinit()
231 redis_command(struct module_env* env, struct cachedb_env* cachedb_env, in redis_command()
279 redis_lookup(struct module_env* env, struct cachedb_env* cachedb_env, in redis_lookup()
327 redis_store(struct module_env* env, struct cachedb_env* cachedb_env, in redis_store()
/netbsd-src/external/bsd/unbound/dist/validator/
H A Dval_utils.h50 struct module_env;
130 enum sec_status val_verify_rrset_entry(struct module_env* env,
153 enum sec_status val_verify_DNSKEY_with_DS(struct module_env* env,
176 enum sec_status val_verify_DNSKEY_with_TA(struct module_env* env,
208 struct module_env* env, struct val_env* ve,
238 struct module_env* env, struct val_env* ve,
318 void val_check_nonsecure(struct module_env* env, struct reply_info* rep);
330 struct module_env* env);
341 struct rrset_cache* r, struct module_env* env);
413 struct dns_msg* val_find_DS(struct module_env* env, uint8_t* nm, size_t nmlen,
H A Dval_nsec3.h74 struct module_env;
130 nsec3_prove_nameerror(struct module_env* env, struct val_env* ve,
168 nsec3_prove_nodata(struct module_env* env, struct val_env* ve,
193 nsec3_prove_wildcard(struct module_env* env, struct val_env* ve,
221 nsec3_prove_nods(struct module_env* env, struct val_env* ve,
246 nsec3_prove_nxornodata(struct module_env* env, struct val_env* ve,
H A Dval_sigcrypt.h50 struct module_env;
142 void algo_needs_reason(struct module_env* env, int alg, char** reason, char* s);
154 int ds_digest_match_dnskey(struct module_env* env,
268 enum sec_status dnskeyset_verify_rrset(struct module_env* env,
289 enum sec_status dnskey_verify_rrset(struct module_env* env, struct val_env* ve,
H A Dautotrust.h49 struct module_env;
158 time_t autr_probe_timer(struct module_env* env);
176 void autr_write_file(struct module_env* env, struct trust_anchor* tp);
197 int autr_process_prime(struct module_env* env, struct val_env* ve,
H A Dautotrust.c72 static void do_revoked(struct module_env* env, struct autr_ta* anchor, int* c);
1184 void autr_write_file(struct module_env* env, struct trust_anchor* tp) in autr_write_file()
1257 verify_dnskey(struct module_env* env, struct val_env* ve, in verify_dnskey()
1287 min_expiry(struct module_env* env, struct packed_rrset_data* dd) in min_expiry()
1304 rr_is_selfsigned_revoked(struct module_env* env, struct val_env* ve, in rr_is_selfsigned_revoked()
1529 check_contains_revoked(struct module_env* env, struct val_env* ve, in check_contains_revoked()
1576 key_matches_a_ds(struct module_env* env, struct val_env* ve, in key_matches_a_ds()
1621 update_events(struct module_env* env, struct val_env* ve, in update_events()
1688 check_holddown(struct module_env* env, struct autr_ta* ta, in check_holddown()
1708 reset_holddown(struct module_env* env, struct autr_ta* ta, int* changed) in reset_holddown()
[all …]
H A Dvalidator.h249 int val_init(struct module_env* env, int id);
252 void val_deinit(struct module_env* env, int id);
278 size_t val_get_mem(struct module_env* env, int id);
/netbsd-src/external/bsd/unbound/dist/services/
H A Dauthzone.h57 struct module_env;
145 struct module_env* zonemd_callback_env;
298 struct module_env* env;
324 struct module_env* env;
372 struct module_env* env;
493 int setup, int* is_rpz, struct module_env* env,
501 void auth_xfer_pickup_initial(struct auth_zones* az, struct module_env* env);
554 int auth_zones_answer(struct auth_zones* az, struct module_env* env,
621 int auth_zones_notify(struct auth_zones* az, struct module_env* env,
634 struct module_env* env, uint8_t* nm, size_t nmlen, uint16_t dclass);
[all …]
H A Dmodstack.h45 struct module_env;
96 struct module_env* env);
103 void modstack_desetup(struct module_stack* stack, struct module_env* env);
114 size_t mod_get_mem(struct module_env* env, const char* name);
/netbsd-src/external/bsd/unbound/dist/util/data/
H A Dmsgreply.h56 struct module_env;
621 int inplace_cb_reply_call(struct module_env* env, struct query_info* qinfo,
641 int inplace_cb_reply_cache_call(struct module_env* env,
662 int inplace_cb_reply_local_call(struct module_env* env,
684 int inplace_cb_reply_servfail_call(struct module_env* env,
707 int inplace_cb_query_call(struct module_env* env, struct query_info* qinfo,
720 int inplace_cb_edns_back_parsed_call(struct module_env* env,
732 int inplace_cb_query_response_call(struct module_env* env,
/netbsd-src/external/bsd/unbound/dist/dns64/
H A Ddns64.h53 int dns64_init(struct module_env* env, int id);
56 void dns64_deinit(struct module_env* env, int id);
69 size_t dns64_get_mem(struct module_env* env, int id);
/netbsd-src/external/bsd/unbound/dist/ipset/
H A Dipset.h54 int ipset_init(struct module_env* env, int id);
56 void ipset_deinit(struct module_env* env, int id);
66 size_t ipset_get_mem(struct module_env* env, int id);
/netbsd-src/external/bsd/unbound/dist/ipsecmod/
H A Dipsecmod.h77 int ipsecmod_init(struct module_env* env, int id);
79 void ipsecmod_deinit(struct module_env* env, int id);
89 size_t ipsecmod_get_mem(struct module_env* env, int id);
/netbsd-src/external/bsd/unbound/dist/pythonmod/
H A Dpythonmod.h52 int pythonmod_init(struct module_env* env, int id);
55 void pythonmod_deinit(struct module_env* env, int id);
69 size_t pythonmod_get_mem(struct module_env* env, int id);
H A Dinterface.i717 %rename(_now) module_env::now;
718 %rename(_now_tv) module_env::now_tv;
719 struct module_env {
764 PyObject* _module_env_now_get(struct module_env* env) {
769 %extend module_env {
808 struct module_env* env; /* unwrapped */
1412 struct delegpt* dns_cache_find_delegation(struct module_env* env,
1546 int no_aggregation, struct module_env* env);
1643 PyObject* py_cb, struct module_env* env, int id)
1653 struct module_env* env, int id)
[all …]
/netbsd-src/external/bsd/unbound/dist/edns-subnet/
H A Dsubnetmod.h117 int subnetmod_init(struct module_env* env, int id);
120 void subnetmod_deinit(struct module_env* env, int id);
134 size_t subnetmod_get_mem(struct module_env* env, int id);

123