summaryrefslogtreecommitdiff
path: root/src/or/onion.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-06 00:21:24 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-03 11:29:47 -0500
commit5c68a1efaa9511baf2a2af0a49946e0a2de9e246 (patch)
tree2412460c251075f029c0d878dcf87bc2e97c3a15 /src/or/onion.h
parent1ed4786dba8912ab7a6eb16adf7554cf9a5c1ed1 (diff)
downloadtor-5c68a1efaa9511baf2a2af0a49946e0a2de9e246.tar.gz
tor-5c68a1efaa9511baf2a2af0a49946e0a2de9e246.zip
Don't check create cells too much when we're relaying them
We want to sanity-check our own create cells carefully, and other people's loosely.
Diffstat (limited to 'src/or/onion.h')
-rw-r--r--src/or/onion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/onion.h b/src/or/onion.h
index 36cb761188..e4081392e9 100644
--- a/src/or/onion.h
+++ b/src/or/onion.h
@@ -106,6 +106,7 @@ int extended_cell_parse(extended_cell_t *cell_out, uint8_t command,
const uint8_t *payload_in, size_t payload_len);
int create_cell_format(cell_t *cell_out, const create_cell_t *cell_in);
+int create_cell_format_relayed(cell_t *cell_out, const create_cell_t *cell_in);
int created_cell_format(cell_t *cell_out, const created_cell_t *cell_in);
int extend_cell_format(uint8_t *command_out, uint16_t *len_out,
uint8_t *payload_out, const extend_cell_t *cell_in);