Tor  0.4.7.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 16 of file var_cell_st.h.

Field Documentation

◆ circ_id

circid_t circ_id

Circuit thich received the cell

Definition at line 20 of file var_cell_st.h.

Referenced by var_cell_pack_header().

◆ command

uint8_t command

Type of the cell: CELL_VERSIONS, etc.

Definition at line 18 of file var_cell_st.h.

Referenced by connection_or_send_versions(), and var_cell_pack_header().

◆ payload

uint8_t payload[FLEXIBLE_ARRAY_MEMBER]

Payload of this cell

Definition at line 24 of file var_cell_st.h.

Referenced by connection_or_send_auth_challenge_cell().

◆ payload_len

uint16_t payload_len

Number of bytes actually stored in payload

Definition at line 22 of file var_cell_st.h.

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


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