fawkes::worldinfo_header_t Struct Reference

World info header. More...

#include <messages.h>

List of all members.

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


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:
Generated on Tue Feb 22 13:31:40 2011 for Fawkes API by  doxygen 1.4.7