aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-05 00:17:54 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-05 00:17:54 -0400
commit913067f788d84d748d9377bb5563b2a8f88dc483 (patch)
treec0407004c0a59d852040abfa67ba4fe94321af37 /src/or/rephist.c
parent064e7c19c66a6e8a65e13508c57f3d7c89060112 (diff)
downloadtor-913067f788d84d748d9377bb5563b2a8f88dc483.tar
tor-913067f788d84d748d9377bb5563b2a8f88dc483.tar.gz
Resolve about 24 DOCDOCs
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 30c8a04c0..02d38e450 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1772,9 +1772,13 @@ rep_hist_load_state(or_state_t *state, char **err)
/*********************************************************************/
-/* DOCDOC predicted_port_t */
+/** A single predicted port: used to remember which ports we've made
+ * connections to, so that we can try to keep making circuits that can handle
+ * those ports. */
typedef struct predicted_port_t {
+ /** The port we connected to */
uint16_t port;
+ /** The time at which we last used it */
time_t time;
} predicted_port_t;