[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] cell: Add a control cell ID for semantic
commit cacfd82c8dcc74ef8d96c0051649b5eae3e31d61
Author: David Goulet <dgoulet@xxxxxxxxxxxxxx>
Date: Thu Nov 10 16:04:04 2016 -0500
cell: Add a control cell ID for semantic
Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
src/or/relay.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/or/relay.h b/src/or/relay.h
index e15551c..26b594e 100644
--- a/src/or/relay.h
+++ b/src/or/relay.h
@@ -24,6 +24,8 @@ int relay_send_command_from_edge_(streamid_t stream_id, circuit_t *circ,
uint8_t relay_command, const char *payload,
size_t payload_len, crypt_path_t *cpath_layer,
const char *filename, int lineno);
+/* Indicates to relay_send_command_from_edge() that it is a control cell. */
+#define CONTROL_CELL_ID 0
#define relay_send_command_from_edge(stream_id, circ, relay_command, payload, \
payload_len, cpath_layer) \
relay_send_command_from_edge_((stream_id), (circ), (relay_command), \
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits