Tor  0.4.3.0-alpha-dev
Data Fields
rend_service_port_config_t Struct Reference

#include <hs_common.h>

Data Fields

uint16_t virtual_port
 
unsigned int is_unix_addr:1
 
uint16_t real_port
 
tor_addr_t real_addr
 
char unix_addr [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

Represents the mapping from a virtual port of a rendezvous service to a real port on some IP.

Definition at line 153 of file hs_common.h.

Field Documentation

◆ is_unix_addr

unsigned int is_unix_addr

Is this an AF_UNIX port?

Definition at line 157 of file hs_common.h.

◆ real_addr

tor_addr_t real_addr

The outgoing IPv4 or IPv6 address to use, if !is_unix_addr

Definition at line 161 of file hs_common.h.

◆ real_port

uint16_t real_port

The outgoing TCP port to use, if !is_unix_addr

Definition at line 159 of file hs_common.h.

◆ unix_addr

char unix_addr[FLEXIBLE_ARRAY_MEMBER]

The socket path to connect to, if is_unix_addr

Definition at line 163 of file hs_common.h.

◆ virtual_port

uint16_t virtual_port

The incoming HS virtual port we're mapping

Definition at line 155 of file hs_common.h.


The documentation for this struct was generated from the following file: