Tor  0.4.7.0-alpha-dev
Data Fields
create_cell_t Struct Reference

#include <onion.h>

Data Fields

uint8_t cell_type
 
uint16_t handshake_type
 
uint16_t handshake_len
 
uint8_t onionskin [CELL_PAYLOAD_SIZE - 4]
 

Detailed Description

A parsed CREATE, CREATE_FAST, or CREATE2 cell.

Definition at line 24 of file onion.h.

Field Documentation

◆ cell_type

uint8_t cell_type

The cell command. One of CREATE{,_FAST,2}

Definition at line 26 of file onion.h.

Referenced by check_create_cell(), circuit_deliver_create_cell(), create_cell_format_impl(), and create_cell_init().

◆ handshake_len

uint16_t handshake_len

The number of bytes used in onionskin.

Definition at line 30 of file onion.h.

Referenced by cpuworker_onion_handshake_threadfn(), and create_cell_init().

◆ handshake_type

uint16_t handshake_type

One of the ONION_HANDSHAKE_TYPE_* values

Definition at line 28 of file onion.h.

Referenced by cpuworker_onion_handshake_threadfn(), create_cell_init(), and onion_pending_add().

◆ onionskin

uint8_t onionskin[CELL_PAYLOAD_SIZE - 4]

The client-side message for the circuit creation handshake.

Definition at line 32 of file onion.h.

Referenced by cpuworker_onion_handshake_threadfn(), and create_cell_init().


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