|
Tor 0.4.9.8
|
XXX: Write a brief introduction to this module. More...
#include "app/config/config.h"#include "core/or/conflux.h"#include "core/or/conflux_cell.h"#include "core/or/relay.h"#include "core/or/circuitlist.h"#include "lib/crypt_ops/crypto_rand.h"#include "trunnel/conflux.h"#include "core/or/crypt_path_st.h"#include "core/or/or_circuit_st.h"#include "core/or/origin_circuit_st.h"Go to the source code of this file.
Functions | |
| STATIC ssize_t | build_link_cell (const conflux_cell_link_t *link, uint8_t *cell_out) |
| static ssize_t | build_linked_cell (const conflux_cell_link_t *link, uint8_t *cell_out) |
| static ssize_t | build_linked_ack_cell (uint8_t *cell_out) |
| bool | conflux_cell_send_link (const conflux_cell_link_t *link, origin_circuit_t *circ) |
| bool | conflux_cell_send_linked (const conflux_cell_link_t *link, or_circuit_t *circ) |
| bool | conflux_cell_send_linked_ack (origin_circuit_t *circ) |
| static conflux_cell_link_t * | conflux_cell_parse_link_v1 (const trn_cell_conflux_link_t *trn_link) |
| conflux_cell_link_t * | conflux_cell_parse_link (const relay_msg_t *msg) |
| conflux_cell_link_t * | conflux_cell_parse_linked (const relay_msg_t *msg) |
| conflux_cell_link_t * | conflux_cell_new_link (const uint8_t *nonce, uint64_t last_seqno_sent, uint64_t last_seqno_recv, uint8_t ux) |
| uint32_t | conflux_cell_parse_switch (const relay_msg_t *msg) |
| bool | conflux_send_switch_command (circuit_t *send_circ, uint64_t relative_seq) |
XXX: Write a brief introduction to this module.
Definition in file conflux_cell.c.
| #define CONFLUX_CELL_PRIVATE |
Definition at line 9 of file conflux_cell.c.
| STATIC ssize_t build_link_cell | ( | const conflux_cell_link_t * | link, |
| uint8_t * | cell_out ) |
Definition at line 27 of file conflux_cell.c.
|
static |
Definition at line 83 of file conflux_cell.c.
|
static |
Definition at line 75 of file conflux_cell.c.
| conflux_cell_link_t * conflux_cell_new_link | ( | const uint8_t * | nonce, |
| uint64_t | last_seqno_sent, | ||
| uint64_t | last_seqno_recv, | ||
| uint8_t | ux ) |
Definition at line 268 of file conflux_cell.c.
| conflux_cell_link_t * conflux_cell_parse_link | ( | const relay_msg_t * | msg | ) |
Definition at line 231 of file conflux_cell.c.
|
static |
Definition at line 200 of file conflux_cell.c.
| conflux_cell_link_t * conflux_cell_parse_linked | ( | const relay_msg_t * | msg | ) |
Definition at line 261 of file conflux_cell.c.
| uint32_t conflux_cell_parse_switch | ( | const relay_msg_t * | msg | ) |
Extracts the sequence number from a switch cell.
Definition at line 287 of file conflux_cell.c.
Referenced by conflux_process_switch_command().
| bool conflux_cell_send_link | ( | const conflux_cell_link_t * | link, |
| origin_circuit_t * | circ ) |
Definition at line 100 of file conflux_cell.c.
| bool conflux_cell_send_linked | ( | const conflux_cell_link_t * | link, |
| or_circuit_t * | circ ) |
Definition at line 134 of file conflux_cell.c.
| bool conflux_cell_send_linked_ack | ( | origin_circuit_t * | circ | ) |
Definition at line 167 of file conflux_cell.c.
| bool conflux_send_switch_command | ( | circuit_t * | send_circ, |
| uint64_t | relative_seq ) |
Send a RELAY_COMMAND_CONFLUX_SWITCH cell on the circuit.
Definition at line 311 of file conflux_cell.c.
Referenced by conflux_decide_circ_for_send().