tor  0.4.2.1-alpha-dev
Data Fields
protover_summary_flags_t Struct Reference

#include <or.h>

Data Fields

unsigned int protocols_known:1
 
unsigned int supports_extend2_cells:1
 
unsigned int supports_ed25519_link_handshake_compat:1
 
unsigned int supports_ed25519_link_handshake_any:1
 
unsigned int supports_ed25519_hs_intro: 1
 
unsigned int supports_v3_hsdir: 1
 
unsigned int supports_v3_rendezvous_point: 1
 
unsigned int supports_hs_setup_padding: 1
 
unsigned int supports_establish_intro_dos_extension: 1
 

Detailed Description

Flags used to summarize the declared protocol versions of a relay, so we don't need to parse them again and again.

Definition at line 809 of file or.h.

Field Documentation

◆ protocols_known

unsigned int protover_summary_flags_t::protocols_known

True iff we have a proto line for this router, or a versions line from which we could infer the protocols.

Definition at line 812 of file or.h.

Referenced by memoize_protover_summary(), and summarize_protover_flags().

◆ supports_ed25519_hs_intro

unsigned int protover_summary_flags_t::supports_ed25519_hs_intro

True iff this router has a protocol list that allows it to be an introduction point supporting ed25519 authentication key which is part of the v3 protocol detailed in proposal 224. This requires HSIntro=4.

Definition at line 831 of file or.h.

Referenced by node_supports_ed25519_hs_intro().

◆ supports_ed25519_link_handshake_any

unsigned int protover_summary_flags_t::supports_ed25519_link_handshake_any

True iff this router has a protocol list that allows it to negotiate ed25519 identity keys on a link handshake, at all. This requires some LinkAuth=X for X >= 3.

Definition at line 826 of file or.h.

Referenced by node_supports_ed25519_link_authentication().

◆ supports_ed25519_link_handshake_compat

unsigned int protover_summary_flags_t::supports_ed25519_link_handshake_compat

True iff this router has a protocol list that allows it to negotiate ed25519 identity keys on a link handshake with us. This requires LinkAuth=3.

Definition at line 821 of file or.h.

Referenced by node_supports_ed25519_link_authentication().

◆ supports_establish_intro_dos_extension

unsigned int protover_summary_flags_t::supports_establish_intro_dos_extension

True iff this router has a protocol list that allows it to support the ESTABLISH_INTRO DoS cell extension. Requires HSIntro>=5.

Definition at line 849 of file or.h.

◆ supports_extend2_cells

unsigned int protover_summary_flags_t::supports_extend2_cells

True iff this router has a version or protocol list that allows it to accept EXTEND2 cells. This requires Relay=2.

Definition at line 816 of file or.h.

Referenced by memoize_protover_summary(), and summarize_protover_flags().

◆ supports_hs_setup_padding

unsigned int protover_summary_flags_t::supports_hs_setup_padding

True iff this router has a protocol list that allows clients to negotiate hs circuit setup padding. Requires Padding>=2.

Definition at line 845 of file or.h.

Referenced by circpad_node_supports_padding().

◆ supports_v3_hsdir

unsigned int protover_summary_flags_t::supports_v3_hsdir

True iff this router has a protocol list that allows it to be an hidden service directory supporting version 3 as seen in proposal 224. This requires HSDir=2.

Definition at line 836 of file or.h.

Referenced by node_supports_v3_hsdir(), and summarize_protover_flags().

◆ supports_v3_rendezvous_point

unsigned int protover_summary_flags_t::supports_v3_rendezvous_point

True iff this router has a protocol list that allows it to be an hidden service rendezvous point supporting version 3 as seen in proposal 224. This requires HSRend=2.

Definition at line 841 of file or.h.

Referenced by node_supports_v3_rendezvous_point().


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