(Page 11 of 30 in this chapter)


SccpGetGenStats

Description

Retrieves (and optionally resets) the general statistics for the SCCP task.

Prototype

SCCP_STATUS SccpGetGenStats (U8 board,

SccpGenStats *pStats,

U8 bReset )

board The TX Series board number to which this request is directed.

pStats The address of the caller's SCCP general statistics buffer where statistics are returned.

bReset If non-zero, statistics are reset to zero after retrieving.

Return Values

Details

The SccpGenStats structure is shown below. Counts of type S32 are number of event occurrences since last cleared.

 typedef struct
{
  U8         month;         /* month                        */
  U8         day;           /* day                          */
  U8         year;          /* year - since 1900            */
  U8         hour;          /* hour - 24 hour clock         */
  U8         min;           /* minute                       */
  U8         sec;           /* second                       */
  U8         tenths;        /* tenths of second             */
  U8         fill;          /* alignment                    */
} DateTime;

typedef struct
{
  DateTime   dt;            /* Date and Time                */
  Duration   dura;          /* Duration (not used)          */
                            /* Routing failure              */
  S32        rfNTASN;       /* no translation for address of
                             * such nature                  */
  S32        rfNTSA;        /* no translation for this
                             * specific address             */
  S32        rfNetFail;     /* network failure (point code
                             * unavailable)                 */
  S32        rfNetCong;     /* network congestion           */
  S32        rfSsnFail;     /* subsystem failure            */
  S32        rfSsnCong;     /* subsystem congestion         */
  S32        rfUnequip;     /* unequipped user              */
  S32        rfHopViolate;  /* Hop counter violation        */
  S32        synError;      /* Syntax Error                 */
  S32        rfUnknown;     /* reason unknown               */
  S32        uDataTx;       /* unit data sent               */
  S32        uDataSrvTx;    /* unit data service sent       */
  S32        uDataRx;       /* unit data received           */
  S32        uDataSrvRx;    /* unit data service received   */
  S32        xuDataTx;      /* extended unit data sent      */
  S32        xuDataSrvTx;   /* extended unit data service 
                             * sent                         */
  S32        xuDataRx;      /* extended unit data received  */
  S32        xuDataSrvRx;   /* extended unit data service
                             * received                     */
  S32        msgHand;       /* total msgs handled           */
  S32        msgLoc;        /* total msgs intended for local
                             * subsystems                   */
  S32        gttReq;        /* msgs requiring GT 
                             * translation                  */
  S32        msgTxC0;       /* total msgs sent, class 0     */
  S32        msgTxC1;       /* total msgs sent, class 1     */
  S32        msgRxC0;       /* total msgs received, class 0 */
  S32        msgRxC1;       /* total msgs received, class 1 */
} SccpGenStats;


(Page 11 of 30 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.