tor  0.4.1.0-alpha-dev
Data Fields
var_cell_t Struct Reference

#include <var_cell_st.h>

Data Fields

uint8_t command
 
circid_t circ_id
 
uint16_t payload_len
 
uint8_t payload [FLEXIBLE_ARRAY_MEMBER]
 

Detailed Description

Parsed variable-length onion routing cell.

Definition at line 11 of file var_cell_st.h.

Field Documentation

◆ circ_id

circid_t var_cell_t::circ_id

Circuit thich received the cell

Definition at line 15 of file var_cell_st.h.

Referenced by var_cell_pack_header().

◆ command

uint8_t var_cell_t::command

Type of the cell: CELL_VERSIONS, etc.

Definition at line 13 of file var_cell_st.h.

Referenced by connection_or_send_versions().

◆ payload

uint8_t var_cell_t::payload[FLEXIBLE_ARRAY_MEMBER]

Payload of this cell

Definition at line 19 of file var_cell_st.h.

Referenced by connection_or_send_auth_challenge_cell().

◆ payload_len

uint16_t var_cell_t::payload_len

Number of bytes actually stored in payload

Definition at line 17 of file var_cell_st.h.

Referenced by channel_tls_process_versions_cell(), connection_or_send_auth_challenge_cell(), and var_cell_copy().


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