Tor 0.4.9.0-alpha-dev
command.h
Go to the documentation of this file.
1/* Copyright (c) 2001 Matej Pfajfar.
2 * Copyright (c) 2001-2004, Roger Dingledine.
3 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4 * Copyright (c) 2007-2021, The Tor Project, Inc. */
5/* See LICENSE for licensing information */
6
7/**
8 * \file command.h
9 * \brief Header file for command.c.
10 **/
11
12#ifndef TOR_COMMAND_H
13#define TOR_COMMAND_H
14
15#include "core/or/channel.h"
16
17void command_process_cell(channel_t *chan, cell_t *cell);
20
21const char *cell_command_to_string(uint8_t command);
22
24extern uint64_t stats_n_create_cells_processed;
26extern uint64_t stats_n_relay_cells_processed;
28
29#endif /* !defined(TOR_COMMAND_H) */
30
Header file for channel.c.
void command_process_cell(channel_t *chan, cell_t *cell)
Definition: command.c:149
uint64_t stats_n_created_cells_processed
Definition: command.c:70
uint64_t stats_n_padding_cells_processed
Definition: channeltls.c:84
void command_setup_listener(channel_listener_t *chan_l)
Definition: command.c:710
uint64_t stats_n_destroy_cells_processed
Definition: command.c:74
uint64_t stats_n_relay_cells_processed
Definition: command.c:72
const char * cell_command_to_string(uint8_t command)
Definition: command.c:89
void command_setup_channel(channel_t *chan)
Definition: command.c:697
uint64_t stats_n_create_cells_processed
Definition: command.c:68
tor_cmdline_mode_t command
Definition: config.c:2468
Definition: cell_st.h:17