player_msghdr Struct Reference

Generic message header. More...

#include <player.h>

Collaboration diagram for player_msghdr:
Collaboration graph

Detailed Description

Generic message header.

Every message starts with this header.

Public Attributes

player_devaddr_t addr
 Device to which this message pertains.
 
uint8_t type
 Message type; must be one of PLAYER_MSGTYPE_*.
 
uint8_t subtype
 Message subtype; interface specific.
 
double timestamp
 Time associated with message contents (seconds since epoch)
 
uint32_t seq
 For keeping track of associated messages. More...
 
uint32_t size
 Size in bytes of the payload to follow.
 

Member Data Documentation

◆ seq

uint32_t player_msghdr::seq

For keeping track of associated messages.

Transport-specific.


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