Table of Contents Index NMS Glossary Previous Page Next Page (Page 7 of 36 in this chapter) Version


ISUPGetApiStats

Description

Retrieves statistics from the API about congestion level activity.

Prototype

DWORD ISUPGetApiStats (CTAHD ctahd,
ISUPAPISTATS *pStats,
U8 bReset)

ctahd Natural Access handle.

pstats Address of buffer where statistics are returned to caller.

bReset If non-zero, statistics are reset after returning the stats to the application.

Return Values

Details

The structure of the ISUPAPISTATS block returned is as follows:

typedef struct
{
   U32 qCount;       /* number of API messages currently
                      * queued to ISUP layer                     */
   U32 qPeak;        /* max number of API messages ever
                      * queued to ISUP layer                     */
   U32 txPending;    /* current number of outstanding transmit
                      * rqsts to ISUP layer                      */
   U32 txPendPeak;   /* max number of transmit rqsts ever
                      * outstanding to ISUP layer                */
   U32 txSuccess;    /* number of successful transmit requests
                      * completed                                */
   U32 txFailed;     /* number of failed transmit requests       */
   U32 txLastErr;    /* error code from last failed
                      * transmit request                         */
   U32 rxSuccess;    /* number of events received from ISUP
                      * layer                                    */
   U8  apiQCongLvl;  /* current outbound queue congestion
                      * level [0..3]                             */
   U8  isupCongLvl;  /* current ISUP layer congestion
                      * level [0..3]                             */
   U8  isupCongSrc;  /* reason for ISUP layer congestion         */
   U8  spare1;       /* spare for alignment                      */
} ISUPAPISTATS;


Table of Contents Index NMS Glossary Previous Page Next Page (Page 7 of 36 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2002, NMS Communications Corporation. All rights reserved.