tor  master
Data Fields
bridge_info_t Struct Reference
Collaboration diagram for bridge_info_t:
Collaboration graph
[legend]

Data Fields

tor_addr_port_t addrport_configured
 
tor_addr_t addr
 
uint16_t port
 
unsigned marked_for_removal: 1
 
char identity [DIGEST_LEN]
 
char * transport_name
 
download_status_t fetch_status
 
smartlist_tsocks_args
 

Detailed Description

Information about a configured bridge. Currently this just matches the ones in the torrc file, but one day we may be able to learn about new bridges on our own, and remember them in the state file.

Field Documentation

◆ addr

tor_addr_t addr

Address of the bridge.

◆ addrport_configured

tor_addr_port_t addrport_configured

Address and port of the bridge, as configured by the user.

◆ fetch_status

download_status_t fetch_status

When should we next try to fetch a descriptor for this bridge?

◆ identity

char identity[DIGEST_LEN]

Expected identity digest, or all zero bytes if we don't know what the digest should be.

◆ marked_for_removal

unsigned marked_for_removal

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

◆ port

uint16_t port

TLS port for the bridge.

◆ socks_args

smartlist_t* socks_args

A smartlist of k=v values to be passed to the SOCKS proxy, if transports are used for this bridge.

◆ transport_name

char* transport_name

Name of pluggable transport protocol taken from its config line.


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