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 637 of file or.h.

Field Documentation

◆ command

uint8_t relay_header_t::command

The end-to-end relay command.

Definition at line 638 of file or.h.

Referenced by connection_edge_process_relay_cell_not_open(), pathbias_count_valid_cells(), and relay_header_unpack().

◆ integrity

char relay_header_t::integrity[4]

Used to tell whether cell is corrupted.

Definition at line 641 of file or.h.

◆ length

uint16_t relay_header_t::length

◆ recognized

uint16_t relay_header_t::recognized

Used to tell whether cell is for us.

Definition at line 639 of file or.h.

◆ stream_id

streamid_t relay_header_t::stream_id

Which stream is this cell associated with?

Definition at line 640 of file or.h.

Referenced by connection_exit_begin_resolve(), and relay_lookup_conn().

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