Lines Matching +full:set +full:- +full:env
2 * util/module.h - DNS handling module interface
49 * module as a whole, for entire-module state (such as a cache). And per-query
51 * the per-query state.
53 * Most per-query state should simply be allocated in the query region.
58 * function pointers for module-specific tasks (like sending queries).
79 * send a UDP query. The iterator uses env.send_query() to send the
103 * not really re-entry codepoints and services). During the operate call
112 * recursion. That is, it wants the full state-machine-list to operate on
113 * a different query. It calls env.attach_sub() to create a new query state.
115 * can edit the module-states for the newly created query (i.e. pass along
141 * in out-of-memory conditions. If the rcode member is 0 (NOERROR) then
149 * If you want to avoid recursion-cycles where queries need other queries
262 * qstate->mesh_info->reply_list.
326 * is_expired: set if the cached answer is expired.
337 /* --- data --- */
349 /* --- services --- */
358 * @param dnssec: if set, EDNS record will have bits set.
359 * If EDNS_DO bit is set, DO bit is set in EDNS records.
360 * If BIT_CD is set, CD bit is set in queries with EDNS records.
361 * @param want_dnssec: if set, the validator wants DNSSEC. Without
365 * @param check_ratelimit: if set, will check ratelimit before sending out.
378 * sent. Or returns an outbound entry with qsent and qstate set.
390 * Detach-subqueries.
391 * Remove all sub-query references from this query state.
392 * Keeps super-references of those sub-queries correct.
428 * Performs a cycle detection - for double check - and fails if there is
485 /** internal data for daemon - worker thread. */
501 /** is validation required for messages, controls client-facing
512 /** the 5011-probe timer (if any) */
521 * The hints -- these aren't stored in the cache because they don't
559 /** initial state - new query */
567 /** module is waiting for sub-query */
632 /** the client network address is needed for the client-subnet option
650 /** failure reason information if val-log-level is high */
659 struct module_env* env; member
693 * Attributes of clients that share the qstate that may affect IP-based
698 /** Extended result of response-ip action processing, mainly
720 * Set up the module for start. This is called only once at startup.
723 * @param env: module environment.
727 int (*startup)(struct module_env* env, int id);
734 * @param env: module environment.
737 void (*destartup)(struct module_env* env, int id);
743 * @param env: module environment.
747 int (*init)(struct module_env* env, int id);
752 * @param env: module environment.
755 void (*deinit)(struct module_env* env, int id);
759 * Changes the qstate->ext_state to be correct on exit.
761 * (re-)activate.
800 * @param env: module environment.
804 size_t (*get_mem)(struct module_env* env, int id);
867 * Check the sldns_ede_code of the qstate->errinf.
869 * @return the latest explicitly set sldns_ede_code or LDNS_EDE_NONE.
889 * @param env: the module environment.
892 int edns_known_options_init(struct module_env* env);
896 * @param env: the module environment.
898 void edns_known_options_delete(struct module_env* env);
907 * @param env: the module environment.
913 int no_aggregation, struct module_env* env);
920 * @param env: the module environment.
927 struct module_env* env, int id);
931 * @param env: the module environment.
936 inplace_cb_delete(struct module_env* env, enum inplace_cb_list_type type,
941 * @param env: the module environment.
943 void inplace_cb_lists_delete(struct module_env* env);
948 * @param env: the module environment.
953 struct module_env* env);
958 * @param env: the module environment.
963 struct module_env* env);
967 * or set for the complete env.
969 * @param env: the module environment.
973 int unique_mesh_state(struct edns_option* list, struct module_env* env);
978 * @param env: the module environment.
981 struct module_env* env);