#include <messages.h>
Public Attributes | |
uint16_t | beef |
has to contain 0xBEEF in network byte order | |
uint8_t | version |
version of the following content | |
uint8_t | reserved |
reserved for future use | |
uint32_t | seq |
sequence number in network byte order |
Every message conglomerate (each packet) is prefixed by this general header. It is used to determine if decryption has been successful, if protocol versions are compatible and if the received sequence number is valid to prevent replay attacks or problems with packets received out-of-order.
Definition at line 66 of file messages.h.
uint16_t fawkes::worldinfo_header_t::beef |
has to contain 0xBEEF in network byte order
Definition at line 67 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv().
uint32_t fawkes::worldinfo_header_t::seq |
sequence number in network byte order
Definition at line 70 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv(), and fawkes::WorldInfoTransceiver::send().
version of the following content
Definition at line 68 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::recv().