|
Tor 0.4.9.8
|
Base connection structure. More...
Go to the source code of this file.
Data Structures | |
| struct | connection_t |
Macros | |
| #define | BASE_CONNECTION_MAGIC 0x7C3C304Eu |
| #define | OR_CONNECTION_MAGIC 0x7D31FF03u |
| #define | EDGE_CONNECTION_MAGIC 0xF0374013u |
| #define | ENTRY_CONNECTION_MAGIC 0xbb4a5703 |
| #define | DIR_CONNECTION_MAGIC 0x9988ffeeu |
| #define | CONTROL_CONNECTION_MAGIC 0x8abc765du |
| #define | LISTENER_CONNECTION_MAGIC 0x1a1ac741u |
| #define | CONN_IS_EDGE(x) |
| #define | DIR_CONN_IS_SERVER(conn) |
Base connection structure.
Definition in file connection_st.h.
| #define BASE_CONNECTION_MAGIC 0x7C3C304Eu |
Definition at line 19 of file connection_st.h.
| #define CONN_IS_EDGE | ( | x | ) |
True iff x is an edge connection.
Definition at line 187 of file connection_st.h.
Referenced by assert_connection_ok(), circuits_handle_oom(), conn_read_callback(), conn_uses_flow_control(), conn_write_callback(), connection_bucket_read_limit(), connection_bucket_refill_single(), connection_buckets_decrement(), connection_buf_read_from_socket(), connection_consider_empty_read_buckets(), connection_flushed_some(), connection_free_minimal(), connection_handle_read_impl(), connection_handle_write_impl(), connection_read_bw_exhausted(), connection_start_reading(), connection_write_to_buf_failed(), flag_all_conn_wait_desc(), hibernate_go_dormant(), and reenable_blocked_connections_cb().
| #define CONTROL_CONNECTION_MAGIC 0x8abc765du |
Definition at line 24 of file connection_st.h.
| #define DIR_CONN_IS_SERVER | ( | conn | ) |
True iff the purpose of conn means that it's a server-side directory connection.
Definition at line 192 of file connection_st.h.
Referenced by connection_counts_as_relayed_traffic(), and run_connection_housekeeping().
| #define DIR_CONNECTION_MAGIC 0x9988ffeeu |
Definition at line 23 of file connection_st.h.
| #define EDGE_CONNECTION_MAGIC 0xF0374013u |
Definition at line 21 of file connection_st.h.
| #define ENTRY_CONNECTION_MAGIC 0xbb4a5703 |
Definition at line 22 of file connection_st.h.
| #define LISTENER_CONNECTION_MAGIC 0x1a1ac741u |
Definition at line 25 of file connection_st.h.
| #define OR_CONNECTION_MAGIC 0x7D31FF03u |
Definition at line 20 of file connection_st.h.