Tor 0.4.9.2-alpha-dev
|
#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 |
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.
const uint8_t* body |
Definition at line 44 of file relay_msg_st.h.
uint8_t command |
Definition at line 23 of file relay_msg_st.h.
bool is_relay_early |
Definition at line 37 of file relay_msg_st.h.
uint16_t length |
Definition at line 33 of file relay_msg_st.h.
streamid_t stream_id |
Definition at line 35 of file relay_msg_st.h.