UM C API  6.16
tnwg_portalstats_dstat_record_t_stct Struct Reference

Structure containing sending and receiving statistics for peer or endpoint portal. Used by tnwg_dstat_portalstats_msg_t. The full length of this structure is defined by the longest of its union elements. However, when messages are sent, the actual size of the selected union element is used. That size is recorded in tnwg_dstat_record_hdr_t_stct::record_length. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC. More...

#include <tnwgdmonmsgs.h>

Data Fields

union {
   tnwg_portal_endpoint_dstat_record_t   endpt
 Union element selected by tnwg_dstat_record_hdr_t_stct::portal_type == TNWG_DSTAT_Portal_Type_Peer.
 
   tnwg_portal_peer_dstat_record_t   peer
 Union element selected by tnwg_dstat_record_hdr_t_stct::portal_type == TNWG_DSTAT_Portal_Type_Endpoint.
 
ptype
 The following union is selected by tnwg_dstat_portalstats_msg_t_stct::rechdr.portal_type.
 

Detailed Description

Structure containing sending and receiving statistics for peer or endpoint portal. Used by tnwg_dstat_portalstats_msg_t. The full length of this structure is defined by the longest of its union elements. However, when messages are sent, the actual size of the selected union element is used. That size is recorded in tnwg_dstat_record_hdr_t_stct::record_length. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.


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