22 int sendme_process_circuit_level(
crypt_path_t *layer_hint,
23 circuit_t *circ,
const uint8_t *cell_payload,
24 uint16_t cell_payload_len);
26 uint16_t cell_body_len);
33 int sendme_note_circuit_data_packaged(
circuit_t *circ,
48 #define SENDME_MAX_SUPPORTED_VERSION 1
51 #define SENDME_EMIT_MIN_VERSION_DEFAULT 1
52 #define SENDME_EMIT_MIN_VERSION_MIN 0
53 #define SENDME_EMIT_MIN_VERSION_MAX UINT8_MAX
56 #define SENDME_ACCEPT_MIN_VERSION_DEFAULT 0
57 #define SENDME_ACCEPT_MIN_VERSION_MIN 0
58 #define SENDME_ACCEPT_MIN_VERSION_MAX UINT8_MAX
65 STATIC int get_emit_min_version(
void);
66 STATIC int get_accept_min_version(
void);
68 STATIC bool cell_version_can_be_handled(uint8_t cell_version);
70 STATIC ssize_t build_cell_payload_v1(
const uint8_t *cell_digest,
73 const uint8_t *cell_payload,
74 size_t cell_payload_len);
Path structures for origin circuits.
Edge-connection structure.
void sendme_circuit_consider_sending(circuit_t *circ, crypt_path_t *layer_hint)
void sendme_connection_edge_consider_sending(edge_connection_t *edge_conn)