diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-07-23 13:52:36 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-08-05 18:03:23 +0300 |
commit | 1e970d17b8e028ec6bd2fa9e0d88dc54209e0523 (patch) | |
tree | 821086c9bdcdb439d3eb7d92e902a6c034e863cf /src/core/or/relay.h | |
parent | ce477da8a7969964810fb16502073d5f34e58692 (diff) | |
download | tor-1e970d17b8e028ec6bd2fa9e0d88dc54209e0523.tar.gz tor-1e970d17b8e028ec6bd2fa9e0d88dc54209e0523.zip |
Test that regular cells get ignored in padding circuits.
Diffstat (limited to 'src/core/or/relay.h')
-rw-r--r-- | src/core/or/relay.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/or/relay.h b/src/core/or/relay.h index 79036f97bd..d9e0d533f5 100644 --- a/src/core/or/relay.h +++ b/src/core/or/relay.h @@ -99,6 +99,11 @@ circid_t packed_cell_get_circid(const packed_cell_t *cell, int wide_circ_ids); uint8_t packed_cell_get_command(const packed_cell_t *cell, int wide_circ_ids); #ifdef RELAY_PRIVATE +STATIC int +handle_relay_command(cell_t *cell, circuit_t *circ, + edge_connection_t *conn, crypt_path_t *layer_hint, + relay_header_t *rh, int optimistic_data); + STATIC int connected_cell_parse(const relay_header_t *rh, const cell_t *cell, tor_addr_t *addr_out, int *ttl_out); /** An address-and-ttl tuple as yielded by resolved_cell_parse */ |