tor
master
|
#include <or.h>
Data Fields | |
char * | description |
char * | nickname |
char * | address |
tor_addr_t | ipv6_addr |
uint32_t | addr |
uint16_t | dir_port |
uint16_t | or_port |
uint16_t | ipv6_orport |
double | weight |
char | digest [DIGEST_LEN] |
char | v3_identity_digest [DIGEST_LEN] |
unsigned int | is_running:1 |
unsigned int | is_authority:1 |
unsigned int | has_accepted_serverdesc:1 |
dirinfo_type_t | type |
time_t | addr_current_at |
routerstatus_t | fake_status |
Represents information about a single trusted or fallback directory server.
uint32_t addr |
IPv4 address.
time_t addr_current_at |
When was the document that we derived the address information from published?
char* address |
Hostname.
char digest[DIGEST_LEN] |
Weight used when selecting this node at random Digest of identity key.
uint16_t dir_port |
Directory port.
routerstatus_t fake_status |
Used when we need to pass this trusted dir_server_t to directory_request_set_routerstatus. as a routerstatus_t. Not updated by the router-status management code!
unsigned int has_accepted_serverdesc |
True iff this server has accepted the most recent server descriptor we tried to upload to it.
tor_addr_t ipv6_addr |
IPv6 address if present; AF_UNSPEC if not
uint16_t ipv6_orport |
OR port corresponding to ipv6_addr.
unsigned int is_authority |
True iff this is a directory authority of some kind.
unsigned int is_running |
True iff we think this server is running.
uint16_t or_port |
OR port: Used for tunneling connections.
dirinfo_type_t type |
What kind of authority is this? (Bitfield.)
char v3_identity_digest[DIGEST_LEN] |
Digest of v3 (authority only, high-security) identity key.