9#ifndef TOR_CONGESTION_CONTROL_FLOW_H
10#define TOR_CONGESTION_CONTROL_FLOW_H
36extern uint64_t cc_stats_flow_num_xon_sent;
37extern double cc_stats_flow_xoff_outbuf_ma;
38extern double cc_stats_flow_xon_outbuf_ma;
41#ifdef TOR_CONGESTION_CONTROL_FLOW_PRIVATE
void flow_control_new_consensus_params(const networkstatus_t *ns)
bool circuit_process_stream_xoff(edge_connection_t *conn, const crypt_path_t *layer_hint, const cell_t *cell)
int flow_control_decide_xoff(edge_connection_t *stream)
void flow_control_note_sent_data(edge_connection_t *stream, size_t len)
bool edge_uses_flow_control(const edge_connection_t *stream)
uint64_t cc_stats_flow_num_xoff_sent
bool conn_uses_flow_control(connection_t *stream)
bool circuit_process_stream_xon(edge_connection_t *conn, const crypt_path_t *layer_hint, const cell_t *cell)
void flow_control_decide_xon(edge_connection_t *stream, size_t n_written)
Path structures for origin circuits.
Edge-connection structure.