diff options
author | Roger Dingledine <arma@torproject.org> | 2003-02-06 08:00:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-02-06 08:00:49 +0000 |
commit | ceafe12ed67528ce4dd656f43bccb7c7a9f7317f (patch) | |
tree | 8f95a57e7fc71d62c919057fedb25dad33fcc424 /src/or/or.h | |
parent | c35373a2cfae66d41e4120469096acde10cea050 (diff) | |
download | tor-ceafe12ed67528ce4dd656f43bccb7c7a9f7317f.tar tor-ceafe12ed67528ce4dd656f43bccb7c7a9f7317f.tar.gz |
make reusing circuits work (and be the default)
performance is better, but not by much. not sure why yet.
svn:r153
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 746d4c898..f4a1797f1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -454,6 +454,7 @@ aci_t get_unique_aci_by_addr_port(uint32_t addr, uint16_t port, int aci_type); circuit_t *circuit_get_by_aci_conn(aci_t aci, connection_t *conn); circuit_t *circuit_get_by_conn(connection_t *conn); +circuit_t *circuit_get_by_edge_type(char edge_type); circuit_t *circuit_enumerate_by_naddr_nport(circuit_t *start, uint32_t naddr, uint16_t nport); int circuit_deliver_data_cell_from_edge(cell_t *cell, circuit_t *circ, char edge_type); |