tor  0.4.2.0-alpha-dev
Data Fields
extend_cell_t Struct Reference

#include <onion.h>

Data Fields

uint8_t cell_type
 
tor_addr_port_t orport_ipv4
 
tor_addr_port_t orport_ipv6
 
uint8_t node_id [DIGEST_LEN]
 
struct ed25519_public_key_t ed_pubkey
 
create_cell_t create_cell
 

Detailed Description

A parsed RELAY_EXTEND or RELAY_EXTEND2 cell

Definition at line 46 of file onion.h.

Field Documentation

◆ cell_type

uint8_t extend_cell_t::cell_type

One of RELAY_EXTEND or RELAY_EXTEND2

Definition at line 48 of file onion.h.

Referenced by extend_cell_format().

◆ create_cell

create_cell_t extend_cell_t::create_cell

The "create cell" embedded in this extend cell. Note that unlike the create cells we generate ourself, this once can have a handshake type we don't recognize.

Definition at line 61 of file onion.h.

Referenced by check_extend_cell().

◆ ed_pubkey

struct ed25519_public_key_t extend_cell_t::ed_pubkey

Ed25519 public identity key. Zero if not set.

Definition at line 57 of file onion.h.

◆ node_id

uint8_t extend_cell_t::node_id[DIGEST_LEN]

Identity fingerprint of the node we're conecting to.

Definition at line 55 of file onion.h.

Referenced by check_extend_cell().

◆ orport_ipv4

tor_addr_port_t extend_cell_t::orport_ipv4

An IPv4 address and port for the node we're connecting to.

Definition at line 50 of file onion.h.

Referenced by check_extend_cell().

◆ orport_ipv6

tor_addr_port_t extend_cell_t::orport_ipv6

An IPv6 address and port for the node we're connecting to. Not currently used.

Definition at line 53 of file onion.h.


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