aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/iterator/iterator.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-05-31 16:38:19 +0200
committerRiccardo Spagni <ric@spagni.net>2015-05-31 16:38:21 +0200
commit431397abfaf37b28c6981242d7fd59d8e520c8ec (patch)
treefa324d2f9f02668a6d56d2e4d195a59ab1d3710e /external/unbound/iterator/iterator.h
parentMerge pull request #301 (diff)
parentupdate libunbound (diff)
downloadmonero-431397abfaf37b28c6981242d7fd59d8e520c8ec.tar.xz
Merge pull request #302
6a11907 update libunbound (Riccardo Spagni)
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.