Tor
0.4.7.0-alpha-dev
|
#include <port_cfg_st.h>
Data Fields | |
tor_addr_t | addr |
int | port |
uint8_t | type |
unsigned | is_unix_addr: 1 |
unsigned | is_group_writable: 1 |
unsigned | is_world_writable: 1 |
unsigned | relax_dirmode_check: 1 |
unsigned | explicit_addr: 1 |
entry_port_cfg_t | entry_cfg |
server_port_cfg_t | server_cfg |
char | unix_addr [FLEXIBLE_ARRAY_MEMBER] |
Configuration for a single port that we're listening on.
Definition at line 19 of file port_cfg_st.h.
tor_addr_t addr |
The actual IP to listen on, if !is_unix_addr.
Definition at line 20 of file port_cfg_st.h.
Referenced by port_cfg_eq(), and portconf_get_first_advertised_addr().
entry_port_cfg_t entry_cfg |
Indicate if address was explicitly set or we are using the default address.
Definition at line 32 of file port_cfg_st.h.
Referenced by port_cfg_eq().
unsigned is_unix_addr |
True iff this is an AF_UNIX address.
Definition at line 24 of file port_cfg_st.h.
Referenced by connection_listener_new_for_port(), and port_cfg_eq().
int port |
The configured port, or CFG_AUTO_PORT to tell Tor to pick its own port.
Definition at line 21 of file port_cfg_st.h.
Referenced by connection_listener_new_for_port(), port_cfg_eq(), and portconf_get_first_advertised_port().
uint8_t type |
One of CONN_TYPE_*_LISTENER
Definition at line 23 of file port_cfg_st.h.
Referenced by port_cfg_eq().
char unix_addr[FLEXIBLE_ARRAY_MEMBER] |
Path for an AF_UNIX address
Definition at line 38 of file port_cfg_st.h.
Referenced by port_cfg_eq().