Tor  0.4.6.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 cell_type

One of RELAY_EXTEND or RELAY_EXTEND2

Definition at line 48 of file onion.h.

Referenced by check_extend_cell(), and extend_cell_format().

◆ create_cell

create_cell_t create_cell

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

Definition at line 60 of file onion.h.

◆ ed_pubkey

struct ed25519_public_key_t ed_pubkey

Ed25519 public identity key. Zero if not set.

Definition at line 54 of file onion.h.

◆ node_id

uint8_t node_id[DIGEST_LEN]

Identity fingerprint of the node we're connecting to.

Definition at line 54 of file onion.h.

◆ orport_ipv4

tor_addr_port_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 circuit_send_intermediate_onion_skin().

◆ orport_ipv6

tor_addr_port_t orport_ipv6

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

Definition at line 52 of file onion.h.

Referenced by circuit_send_intermediate_onion_skin().


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