Tor  0.4.7.0-alpha-dev
Data Fields
hs_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 150 of file hs_common.h.

Field Documentation

◆ is_unix_addr

unsigned int is_unix_addr

Is this an AF_UNIX port?

Definition at line 154 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 158 of file hs_common.h.

◆ real_port

uint16_t real_port

The outgoing TCP port to use, if !is_unix_addr

Definition at line 156 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 160 of file hs_common.h.

◆ virtual_port

uint16_t virtual_port

The incoming HS virtual port we're mapping

Definition at line 152 of file hs_common.h.


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