Tor  0.4.7.0-alpha-dev
Data Fields
relay_header_t Struct Reference

#include <or.h>

Data Fields

uint8_t command
 
uint16_t recognized
 
streamid_t stream_id
 
char integrity [4]
 
uint16_t length
 

Detailed Description

Beginning of a RELAY cell payload.

Definition at line 518 of file or.h.

Field Documentation

◆ command

uint8_t command

◆ integrity

char integrity[4]

Used to tell whether cell is corrupted.

Definition at line 522 of file or.h.

Referenced by relay_header_pack(), relay_header_unpack(), and relay_set_digest().

◆ length

uint16_t length

◆ recognized

uint16_t recognized

Used to tell whether cell is for us.

Definition at line 520 of file or.h.

Referenced by relay_header_pack(), and relay_header_unpack().

◆ stream_id

streamid_t stream_id

Which stream is this cell associated with?

Definition at line 521 of file or.h.

Referenced by connection_exit_begin_resolve(), process_sendme_cell(), relay_header_pack(), relay_header_unpack(), and relay_lookup_conn().


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