Fawkes API
Fawkes Development Version
|
World info header. More...
#include <messages.h>
Public Attributes | |
uint16_t | beef |
has to contain 0xBEEF in network byte order More... | |
uint8_t | version |
version of the following content More... | |
uint8_t | reserved |
reserved for future use More... | |
uint32_t | seq |
sequence number in network byte order More... | |
World info header.
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::add_disappeared_opponent(), and fawkes::WorldInfoTransceiver::recv().
uint8_t fawkes::worldinfo_header_t::reserved |
reserved for future use
Definition at line 69 of file messages.h.
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().
uint8_t fawkes::worldinfo_header_t::version |
version of the following content
Definition at line 68 of file messages.h.
Referenced by fawkes::WorldInfoTransceiver::add_disappeared_opponent(), and fawkes::WorldInfoTransceiver::recv().