E2SAR 0.2.0
All Data Structures Namespaces Functions Typedefs Enumerations
e2sar::Segmenter::ReportedStats Struct Reference

#include <e2sarDPSegmenter.hpp>

Public Member Functions

 ReportedStats (const AtomicStats &as)
 

Data Fields

u_int64_t msgCnt
 
u_int64_t errCnt
 
int lastErrno
 
E2SARErrorc lastE2SARError
 

Detailed Description

Structure in which statistics are reported back to user, sync and send stats are identical so same structure is used.

  • u_int64_t msgCnt; // fragments sent
  • u_int64_t errCnt; // errors encountered on send
  • int lastErrno; // last errno recorded, use strerror() to get error message
  • E2SARErrorc lastE2SARError; // last recorded E2SAR error (use make_error_code(stats.lastE2SARError).message())

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