(Page 2 of 29 in this chapter) Version


Mtp3GenStats

Description

Obtains (and potentially resets) general or global statistics for the MTP 3 signaling point.

Prototype

MTP3_STATUS Mtp3GenStats (U8 board,
MTP3GenStats *pStats,
BOOL bReset)

board TX board number on which the desired MTP 3 task resides. Valid range is 1 to MAXBOARD (currently 8).

pStats Pointer to a buffer provided by the application where the requested statistics will be returned.

bReset Optionally resets statistics.

Return Values

Details

General statistics include transmit and receive counts for user part unavailable messages, traffic restarts, and packets dropped.

The MTP3GenStats structure appears as follows:

typedef struct _Mtp3GenStats   /* MTP Level 3 signaling point
                                * statistics                   */
{
  U32 usrUnavailRx;  /* User part unavailable received         */
  U32 usrUnavailTx;  /* User part unavailable transmitted      */
  U32 traTx;         /* Traffic restart allowed transmitted    */
  U32 traRx;         /* Traffic restart allowed received       */
  U32 trwTx;         /* Traffic restart waiting transmitted    */
  U32 trwRx;         /* Traffic restart waiting received       */
  U32 msuDropRteErr; /* MSU dropped due to a routing data error*/
} MTP3GenStats;

If the bReset value is a non-zero integer, the statistics will be reset after returning the current values. A value of zero disables the reset function.

See Also

Mtp3GenStatus, Mtp3MgmtInit



(Page 2 of 29 in this chapter) Version


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