Tor
0.4.7.0-alpha-dev
|
Router descriptor structure. More...
#include "feature/nodelist/signed_descriptor_st.h"
Go to the source code of this file.
Data Structures | |
struct | routerinfo_t |
Macros | |
#define | ROUTER_PURPOSE_GENERAL 0 |
#define | ROUTER_PURPOSE_CONTROLLER 1 |
#define | ROUTER_PURPOSE_BRIDGE 2 |
#define | ROUTER_PURPOSE_UNKNOWN 255 |
Router descriptor structure.
Definition in file routerinfo_st.h.
#define ROUTER_PURPOSE_BRIDGE 2 |
Tor should use this router only for bridge positions in circuits: we got it via a directory request from the bridge itself, or a bridge authority.
Definition at line 106 of file routerinfo_st.h.
#define ROUTER_PURPOSE_CONTROLLER 1 |
Tor should avoid using this router for circuit-building: we got it from a controller. If the controller wants to use it, it'll have to ask for it by identity.
Definition at line 102 of file routerinfo_st.h.
#define ROUTER_PURPOSE_GENERAL 0 |
Tor can use this router for general positions in circuits; we got it from a directory server as usual, or we're an authority and a server uploaded it.
Definition at line 98 of file routerinfo_st.h.
#define ROUTER_PURPOSE_UNKNOWN 255 |
Tor should not use this router; it was marked in cached-descriptors with a purpose we didn't recognize.
Definition at line 109 of file routerinfo_st.h.