aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-06-13 09:59:33 +0000
committerRoger Dingledine <arma@torproject.org>2003-06-13 09:59:33 +0000
commit9a33b59ece152692acf25c8e98bf5ec46e1474c0 (patch)
tree7d9fa49ebf2f2151a85f4cc5d5d3d3d467c64cb1 /src/or/or.h
parent1454f4aded3bb2b99d59d7f2bf1fb636403b17d8 (diff)
downloadtor-9a33b59ece152692acf25c8e98bf5ec46e1474c0.tar.gz
tor-9a33b59ece152692acf25c8e98bf5ec46e1474c0.zip
relay queues are obsolete (woo!)
they used to be used for * queueing relay cells at the edge of the network, when windows are empty * queueing relay cells that arrive after an onion but before the onion has been processed. both of these uses are gone. so out they go. svn:r315
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 89d7da5240..e69eb52e04 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -352,12 +352,6 @@ struct crypt_path_t {
typedef struct crypt_path_t crypt_path_t;
-struct relay_queue_t {
- cell_t *cell;
- crypt_path_t *layer_hint;
- struct relay_queue_t *next;
-};
-
/* struct for a path (circuit) through the network */
typedef struct {
uint32_t n_addr;
@@ -372,8 +366,6 @@ typedef struct {
aci_t p_aci; /* connection identifiers */
aci_t n_aci;
- struct relay_queue_t *relay_queue; /* for queueing cells at the edges */
-
crypto_cipher_env_t *p_crypto; /* used only for intermediate hops */
crypto_cipher_env_t *n_crypto;
@@ -394,7 +386,6 @@ typedef struct {
struct onion_queue_t {
circuit_t *circ;
- struct relay_queue_t *relay_cells;
struct onion_queue_t *next;
};
@@ -749,8 +740,6 @@ int onion_pending_add(circuit_t *circ);
int onion_pending_check(void);
void onion_pending_process_one(void);
void onion_pending_remove(circuit_t *circ);
-struct relay_queue_t *relay_queue_add(struct relay_queue_t *list, cell_t *cell, crypt_path_t *layer_hint);
-void onion_pending_relay_add(circuit_t *circ, cell_t *cell);
/* uses a weighted coin with weight cw to choose a route length */
int chooselen(double cw);