iter_env Struct Reference

Global state for the iterator. More...

#include <iterator.h>


Data Fields

struct iter_hintshints
 The hints -- these aren't stored in the cache because they don't expire.
int supports_ipv6
 A flag to indicate whether or not we have an IPv6 route.
struct iter_forwardsfwds
 Mapping of forwarding zones to targets.
struct iter_donotqdonotq
 A set of inetaddrs that should never be queried.
struct iter_privpriv
 private address space and private domains
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.


Detailed Description

Global state for the iterator.

Field Documentation

struct iter_hints* iter_env::hints [read]

The hints -- these aren't stored in the cache because they don't expire.

The hints are always used to "prime" the cache. Note that both root hints and stub zone "hints" are stored in this data structure.

Referenced by iter_apply_cfg(), iter_deinit(), iter_get_mem(), prime_root(), prime_stub(), and processInitRequest().

struct iter_forwards* iter_env::fwds [read]

Mapping of forwarding zones to targets.

Referenced by forward_request(), iter_apply_cfg(), iter_deinit(), and iter_get_mem().

struct iter_donotq* iter_env::donotq [read]

A set of inetaddrs that should never be queried.

Referenced by iter_apply_cfg(), iter_deinit(), iter_filter_unsuitable(), and iter_get_mem().

The maximum dependency depth that this resolver will pursue.

Referenced by fetch_fill(), iter_apply_cfg(), iter_get_mem(), processInitRequest(), processQueryTargets(), and read_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 fetch_fill(), iter_apply_cfg(), iter_deinit(), processQueryTargets(), and read_fetch_policy().


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

Generated on Thu Mar 26 09:45:03 2009 for unbound by  doxygen 1.5.8