Fawkes API
Fawkes Development Version
|
Network framing header. More...
#include <frame_header.h>
Public Attributes | |
uint8_t | header_version |
Frame header version. More... | |
uint8_t | cipher |
One of PB_ENCRYPTION_*. More... | |
uint8_t | reserved_2 |
reserved for future use More... | |
uint8_t | reserved_3 |
reserved for future use More... | |
uint32_t | payload_size |
payload size in bytes includes message and header, not IV More... | |
Network framing header.
Header that is prepended to all messages. The payload size does not include the size of the header. All numbers are given in network byte order (big endian). The encryption type can be set if encryption is used. If the mode requires an initialization vector (IV) it is appended directly after the frame header (and not counted in the payload size).
Definition at line 74 of file frame_header.h.
uint8_t protobuf_comm::frame_header_t::cipher |
One of PB_ENCRYPTION_*.
Definition at line 78 of file frame_header.h.
Referenced by protobuf_comm::ProtobufStreamClient::disconnect(), protobuf_comm::QueueEntry::QueueEntry(), protobuf_comm::ProtobufBroadcastPeer::send(), and protobuf_comm::ProtobufBroadcastPeer::set_filter_self().
uint8_t protobuf_comm::frame_header_t::header_version |
Frame header version.
Definition at line 76 of file frame_header.h.
Referenced by protobuf_comm::ProtobufStreamClient::disconnect(), protobuf_comm::QueueEntry::QueueEntry(), and protobuf_comm::ProtobufBroadcastPeer::set_filter_self().
uint32_t protobuf_comm::frame_header_t::payload_size |
payload size in bytes includes message and header, not IV
Definition at line 86 of file frame_header.h.
Referenced by protobuf_comm::MessageRegister::deserialize(), protobuf_comm::ProtobufStreamClient::disconnect(), protobuf_comm::ProtobufStreamClient::send(), protobuf_comm::ProtobufBroadcastPeer::send(), protobuf_comm::MessageRegister::serialize(), and protobuf_comm::ProtobufBroadcastPeer::set_filter_self().
uint8_t protobuf_comm::frame_header_t::reserved_2 |
reserved for future use
Definition at line 80 of file frame_header.h.
uint8_t protobuf_comm::frame_header_t::reserved_3 |
reserved for future use
Definition at line 82 of file frame_header.h.