Tor 0.4.9.1-alpha-dev
Data Fields
transport_t Struct Reference

#include <transports.h>

Data Fields

int socks_version
 
char * name
 
tor_addr_t addr
 
uint16_t port
 
unsigned marked_for_removal: 1
 
char * extra_info_args
 

Detailed Description

Represents a pluggable transport used by a bridge.

Definition at line 17 of file transports.h.

Field Documentation

◆ addr

tor_addr_t addr

The IP address where the transport bound and is waiting for connections.

Definition at line 24 of file transports.h.

Referenced by get_proxy_addrport(), and transport_resolve_conflicts().

◆ extra_info_args

char* extra_info_args

Arguments for this transport that must be written to the extra-info descriptor.

Definition at line 32 of file transports.h.

Referenced by transport_free_().

◆ marked_for_removal

unsigned marked_for_removal

Boolean: We are re-parsing our transport list, and we are going to remove this one if we don't find it in the list of configured transports.

Definition at line 29 of file transports.h.

Referenced by mark_transport_list(), proxy_prepare_for_restart(), pt_kickstart_proxy(), and transport_resolve_conflicts().

◆ name

char* name

Name of pluggable transport protocol

Definition at line 21 of file transports.h.

Referenced by transport_free_(), and transport_resolve_conflicts().

◆ port

uint16_t port

Port of proxy

Definition at line 26 of file transports.h.

Referenced by get_proxy_addrport(), and transport_resolve_conflicts().

◆ socks_version

int socks_version

SOCKS version: One of PROXY_SOCKS4, PROXY_SOCKS5.

Definition at line 19 of file transports.h.

Referenced by get_proxy_addrport().


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