lbmmon_packet_hdr_t_stct Struct Reference

Statistics packet header layout. More...

#include <lbmmon.h>


Data Fields

lbm_uint_t mSignature
lbm_ushort_t mType
lbm_ushort_t mAttributeBlockLength
lbm_ushort_t mDataLength
lbm_ushort_t mFiller


Detailed Description

A statistics packet consists of four fixed-length and fixed-position fields, as documented below. It is followed by two variable-length fields. The option block is located at packet + sizeof(lbmmon_packet_hdr_t), and is mOptionBlockLength (when properly interpreted) bytes in length (which may be zero). The statistics data block is located immediately following the option block.


Field Documentation

lbm_uint_t lbmmon_packet_hdr_t_stct::mSignature

Packet signature in network order. Must be LBMMON_PACKET_SIGNATURE.

lbm_ushort_t lbmmon_packet_hdr_t_stct::mType

Type of statistics, in network order. See LBMMON_PACKET_TYPE_*.

lbm_ushort_t lbmmon_packet_hdr_t_stct::mAttributeBlockLength

Length of optional, variable-length attribute block in network order.

lbm_ushort_t lbmmon_packet_hdr_t_stct::mDataLength

Length of variable-length statistics data in network order.

lbm_ushort_t lbmmon_packet_hdr_t_stct::mFiller

Filler to assure proper alignment of the structure.


The documentation for this struct was generated from the following file:
Generated on Thu Mar 6 13:11:24 2014 for LBM API by  doxygen 1.5.2