Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
relay_msg_t Struct Reference

#include <relay_msg_st.h>

Data Fields

uint8_t command
 
uint16_t length
 
streamid_t stream_id
 
bool is_relay_early
 
const uint8_t * body
 

Detailed Description

A relay message object which contains pointers to the header and payload.

One acquires a relay message through the use of an iterator. Once you get a reference, the getters MUST be used to access data.

This CAN NOT be made opaque so to avoid heap allocation in the fast path.

Definition at line 21 of file relay_msg_st.h.

Field Documentation

◆ body

const uint8_t* body

Definition at line 44 of file relay_msg_st.h.

◆ command

uint8_t command

Definition at line 23 of file relay_msg_st.h.

◆ is_relay_early

bool is_relay_early

Definition at line 37 of file relay_msg_st.h.

◆ length

uint16_t length

Definition at line 33 of file relay_msg_st.h.

◆ stream_id

streamid_t stream_id

Definition at line 35 of file relay_msg_st.h.


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