dir_connection_t Struct Reference

#include <or.h>


Public Types

enum  {
  DIR_SPOOL_NONE = 0, DIR_SPOOL_SERVER_BY_DIGEST, DIR_SPOOL_SERVER_BY_FP, DIR_SPOOL_EXTRA_BY_DIGEST,
  DIR_SPOOL_EXTRA_BY_FP, DIR_SPOOL_CACHED_DIR, DIR_SPOOL_NETWORKSTATUS, DIR_SPOOL_MICRODESC
}

Data Fields

connection_t _base
char * requested_resource
unsigned int dirconn_direct:1
enum dir_connection_t:: { ... }  dir_spool_src
uint8_t router_purpose
smartlist_tfingerprint_stack
struct cached_dir_tcached_dir
off_t cached_dir_offset
tor_zlib_state_tzlib_state
rend_data_trend_data
char identity_digest [DIGEST_LEN]


Detailed Description

Subtype of connection_t for an "directory connection" -- that is, an HTTP connection to retrieve or serve directory material.

Member Enumeration Documentation

anonymous enum

What exactly are we spooling right now?


Field Documentation

Is this dirconn direct, or via Tor?

Referenced by connection_dir_client_reached_eof(), and directory_initiate_command_rend().

If we're fetching descriptors, what router purpose shall we assign to them?

Referenced by connection_dir_client_reached_eof(), connection_dir_download_networkstatus_failed(), and directory_initiate_command_rend().

Hash of the public RSA key for the directory server's signing key.

Referenced by connection_dir_client_reached_eof(), connection_dir_request_failed(), directory_conn_is_self_reachability_test(), and directory_initiate_command_rend().


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

Generated on Tue May 25 00:31:11 2010 for tor by  doxygen 1.5.6