aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/iterator/iterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'external/unbound/iterator/iterator.h')
-rw-r--r--external/unbound/iterator/iterator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/external/unbound/iterator/iterator.h b/external/unbound/iterator/iterator.h
index cb8043fd5..aaf0fb383 100644
--- a/external/unbound/iterator/iterator.h
+++ b/external/unbound/iterator/iterator.h
@@ -51,6 +51,7 @@ struct iter_forwards;
struct iter_donotq;
struct iter_prep_list;
struct iter_priv;
+struct rbtree_t;
/** max number of targets spawned for a query and its subqueries */
#define MAX_TARGET_COUNT 32
@@ -96,6 +97,9 @@ struct iter_env {
/** private address space and private domains */
struct iter_priv* priv;
+ /** whitelist for capsforid names */
+ struct rbtree_t* caps_white;
+
/** The maximum dependency depth that this resolver will pursue. */
int max_dependency_depth;
@@ -259,6 +263,9 @@ struct iter_qstate {
* subqueries, the malloced-array is shared, [0] refcount. */
int* target_count;
+ /** if true, already tested for ratelimiting and passed the test */
+ int ratelimit_ok;
+
/**
* The query must store NS records from referrals as parentside RRs
* Enabled once it hits resolution problems, to throttle retries.