|
Tor 0.4.9.3-alpha-dev
|
Header file for command.c. More...
#include "core/or/channel.h"Go to the source code of this file.
Functions | |
| void | command_process_cell (channel_t *chan, cell_t *cell) |
| void | command_setup_channel (channel_t *chan) |
| void | command_setup_listener (channel_listener_t *chan_l) |
| const char * | cell_command_to_string (uint8_t command) |
Variables | |
| uint64_t | stats_n_padding_cells_processed |
| uint64_t | stats_n_create_cells_processed |
| uint64_t | stats_n_created_cells_processed |
| uint64_t | stats_n_relay_cells_processed |
| uint64_t | stats_n_destroy_cells_processed |
| const char * cell_command_to_string | ( | uint8_t | command | ) |
Convert the cell command into a lower-case, human-readable string.
Definition at line 89 of file command.c.
Referenced by append_cell_stats_by_command().
Process a cell that was just received on chan. Keep internal statistics about how many of each cell we've processed so far this second, and the total number of microseconds it took to process each type of cell.
Definition at line 149 of file command.c.
Referenced by command_setup_channel().
| void command_setup_channel | ( | channel_t * | chan | ) |
Given a channel, install the right handlers to process incoming cells on it.
Definition at line 712 of file command.c.
Referenced by channel_connect_for_circuit(), command_handle_incoming_channel(), and dirserv_single_reachability_test().
| void command_setup_listener | ( | channel_listener_t * | listener | ) |
Given a listener, install the right handler to process incoming channels on it.
Definition at line 725 of file command.c.
Referenced by connection_tls_start_handshake().
|
extern |
How many CELL_CREATE cells have we received, ever?
Definition at line 68 of file command.c.
Referenced by command_process_cell(), and dumpstats().
|
extern |
How many CELL_CREATED cells have we received, ever?
Definition at line 70 of file command.c.
Referenced by command_process_cell(), and dumpstats().
|
extern |
How many CELL_DESTROY cells have we received, ever?
Definition at line 74 of file command.c.
Referenced by command_process_cell(), dumpstats(), and fill_relay_destroy_cell().
|
extern |
How many CELL_PADDING cells have we received, ever?
Definition at line 84 of file channeltls.c.
Referenced by channel_tls_handle_cell(), and dumpstats().
|
extern |
How many CELL_RELAY cells have we received, ever?
Definition at line 72 of file command.c.
Referenced by command_process_cell(), and dumpstats().