aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-11-23 08:49:03 +0000
committerRoger Dingledine <arma@torproject.org>2002-11-23 08:49:03 +0000
commitab0aee04d910520ca8e683356069e53997908b85 (patch)
treea0736d3b2b49802b7e1ad1d80479dc353814fe83 /src/or/or.h
parent00a9e3732e88d73860b772dcbac0b8275aa7f467 (diff)
downloadtor-ab0aee04d910520ca8e683356069e53997908b85.tar
tor-ab0aee04d910520ca8e683356069e53997908b85.tar.gz
added OnionsPerSecond to prevent create flooding
first cut, probably needs more playing with svn:r137
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index a2dd9b328..d9e466970 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -216,6 +216,8 @@ typedef struct
long timestamp_created;
+ int onions_handled_this_second;
+
// uint16_t aci; /* anonymous connection identifier */
/* used by OR and OP: */
@@ -376,6 +378,7 @@ typedef struct
int DirRebuildPeriod;
int DirFetchPeriod;
int KeepalivePeriod;
+ int OnionsPerSecond;
int Role;
int loglevel;
} or_options_t;