Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 [MAX_CREATE_LEN]
 

Detailed Description

A parsed CREATE, CREATE_FAST, or CREATE2 cell.

Definition at line 27 of file onion.h.

Field Documentation

◆ cell_type

uint8_t cell_type

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

Definition at line 29 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 33 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 31 of file onion.h.

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

◆ onionskin

uint8_t onionskin[MAX_CREATE_LEN]

The client-side message for the circuit creation handshake.

Definition at line 35 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: