(Page 13 of 30 in this chapter)


SccpGetNSapStats

Description

Retrieves (and optionally resets) the Network SAP statistics for a specified NSAP of the SCCP task.

Prototype

SCCP_STATUS SccpGetNSapStats (U8 board,

SccpNSapStats *pStats,

U16 sapId,

U8 bReset )

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

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

sapId The Network SAP ID being retrieved.

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

Return Values

Details

The SccpNSapStats structure is shown below. Counts of type S32 are the 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)                 */
  S32      ssAllTx;  /* SS allowed transmitted              */
  S32      ssOutGTx; /* SS out of service grant transmitted */
  S32      ssOutRTx; /* SS out of service request 
                      * transmitted                         */
  S32      ssProhTx; /* SS prohibited transmitted           */
  S32      ssStatTx; /* SS status test transmitted          */
  S32      ssAllRx;  /* SS allowed received                 */
  S32      ssOutGRx; /* SS out of service grant received    */
  S32      ssOutRRx; /* SS out of service request received  */
  S32      ssProhRx; /* SS prohibited received              */
  S32      ssStatRx; /* SS status test received             */
} SccpNSapStats;


(Page 13 of 30 in this chapter)


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