UM C API  6.16.1
umestore_dmon_msg_hdr_t_stct Struct Reference

Common message header structure included at the start of all messages. More...

#include <umedmonmsgs.h>

Data Fields

lbm_uint16_t magic
 "Magic" value set by sender to indicate to the receiver whether byte swapping is needed. Possible values: LBM_UMESTORE_DMON_MAGIC, LBM_UMESTORE_DMON_ANTIMAGIC.
 
lbm_uint16_t type
 Message type set by sender to indicate which kind of message this is. Possible values: one of the LBM_UMESTORE_DMON_MPG_* constants ( LBM_UMESTORE_DMON_MPG_STORE_STATS, LBM_UMESTORE_DMON_MPG_REPO_STATS, etc. )
 
lbm_uint16_t version
 Version of the message definition. See Daemon Statistics Versioning for general information on versioning of these structures.
 
lbm_uint16_t length
 Total length of the message, including this header. Note that some message types do not have fixed lengths.
 
lbm_uint32_t tv_sec
 Approximate timestamp when the message was sent. Represents local wall clock time in seconds after the Epoc (seconds since 1-Jan-1970 UTC).
 
lbm_uint32_t tv_usec
 Count of microseconds to be added to "tv_sec" to increase the precision of the timestamp. However, the accuracy of the timestamp is not guaranteed to be at the microsecond level.
 

Detailed Description

Common message header structure included at the start of all messages.


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