Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fawkes::worldinfo_header_t Struct Reference

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...
 

Detailed Description

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.

Member Data Documentation

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().

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::recv().


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