tor  master
Data Fields
extend_cell_t Struct Reference

#include <onion.h>

Collaboration diagram for extend_cell_t:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

A parsed RELAY_EXTEND or RELAY_EXTEND2 cell

Field Documentation

◆ cell_type

uint8_t cell_type

One of RELAY_EXTEND or RELAY_EXTEND2

◆ create_cell

create_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.

◆ ed_pubkey

Ed25519 public identity key. Zero if not set.

◆ node_id

uint8_t node_id[DIGEST_LEN]

Identity fingerprint of the node we're conecting to.

◆ orport_ipv4

tor_addr_port_t orport_ipv4

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

◆ orport_ipv6

tor_addr_port_t orport_ipv6

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


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