Skip to content
Snippets Groups Projects
Commit cacfd82c authored by David Goulet's avatar David Goulet :panda_face:
Browse files

cell: Add a control cell ID for semantic

parent 92139b00
No related branches found
No related tags found
No related merge requests found
......@@ -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), \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment