unbound: iter_env Struct Reference

unbound 0.1

Data Fields
iter_env Struct Reference

Global state for the iterator. More...

`#include <iterator.h>`

## Data Fields
int | supports_ipv6
| A flag to indicate whether or not we have an IPv6 route.
int | supports_ipv4
| A flag to indicate whether or not we have an IPv4 route.
struct iter_nat64 | nat64
| State for nat64.
struct iter_donotq * | donotq
| A set of inetaddrs that should never be queried.
struct iter_priv * | priv
| private address space and private domains
struct rbtree_type * | caps_white
| whitelist for capsforid names
int | max_dependency_depth
| The maximum dependency depth that this resolver will pursue.
int * | target_fetch_policy
| The target fetch policy for each dependency level.
lock_basic_type | queries_ratelimit_lock
| lock on ratelimit counter
size_t | num_queries_ratelimited
| number of queries that have been ratelimited
int | outbound_msg_retry
| number of retries on outgoing queries
int | max_sent_count
| number of queries_sent
int | max_query_restarts
| max number of query restarts to limit length of CNAME chain

## Detailed Description

Global state for the iterator.

## Field Documentation

## ◆ target_fetch_policy

int* iter_env::target_fetch_policy

The target fetch policy for each dependency level.

This is described as a simple number (per dependency level): negative numbers (usually just -1) mean fetch-all, 0 means only fetch on demand, and positive numbers mean to fetch at most that many targets. array of max_dependency_depth+1 size.

Referenced by fr_adjust_iter_env(), iter_apply_cfg(), iter_deinit(), and processQueryTargets().

The documentation for this struct was generated from the following file:

- iterator/iterator.h