diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-11 13:06:17 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-11 13:06:17 -0500 |
commit | ce51887291decd1654fed6e745fb8f625bf52292 (patch) | |
tree | 1aef77a48d07c5c219d73a7c070a220b627028cc /src/or/relay.c | |
parent | 4c9b6df84da2820a4912b402c54f297126b2305d (diff) | |
download | tor-ce51887291decd1654fed6e745fb8f625bf52292.tar.gz tor-ce51887291decd1654fed6e745fb8f625bf52292.zip |
All-in-one benchmark test for cell crypto
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 51a29a20ee..ac3114bda5 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -11,6 +11,7 @@ **/ #include <math.h> +#define RELAY_PRIVATE #include "or.h" #include "buffers.h" #include "circuitbuild.h" @@ -33,9 +34,6 @@ #include "routerlist.h" #include "routerparse.h" -static int relay_crypt(circuit_t *circ, cell_t *cell, - cell_direction_t cell_direction, - crypt_path_t **layer_hint, char *recognized); static edge_connection_t *relay_lookup_conn(circuit_t *circ, cell_t *cell, cell_direction_t cell_direction, crypt_path_t *layer_hint); @@ -297,7 +295,7 @@ circuit_receive_relay_cell(cell_t *cell, circuit_t *circ, * Return -1 to indicate that we should mark the circuit for close, * else return 0. */ -static int +int relay_crypt(circuit_t *circ, cell_t *cell, cell_direction_t cell_direction, crypt_path_t **layer_hint, char *recognized) { |