(Page 22 of 29 in this chapter) Version


Mtp3RouteStats

Description

Obtains (and potentially resets) routing statistics for the route associated with the specified destination point code.

Prototype

MTP3_STATUS Mtp3RouteStats ( U8 board,
U32 dpc,
MTP3RouteStats *pStats,
BOOL bReset )

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

dpc Destination point code associated with the desired route.

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

bReset If true (non-zero), the statistics are reset (set to zero) after returning the current values. If false (zero), no reset is performed.

Return Values

Details

Route statistics include transmit and receive counts for such messages as test, congestion, transfer prohibited, transfer restricted, and transfer allowed, as well as number of routes unavailable and duration of route unavailability. All counts are U32 fields. Refer to the MTP3RouteStats structure for detailed information:

typedef struct _Mtp3RouteStats  /* MTP Level 3 route statistics */
{
  U32 dpc;          /* Destination point code of this route     */
  U32 routeTstTx;   /* Route set test transmitted               */
  U32 routeTstRx;   /* Route set test received                  */
  U32 congTstRx;    /* Route set congestion test received       */
  U32 congTstTx;    /* Route set congestion test transmitted    */
  U32 txProhibTx;   /* Transfer prohibited transmitted          */
  U32 txProhibRx;   /* Transfer prohibited received             */
  U32 txRestrictRx; /* Transfer restricted received             */
  U32 txAllowTx;    /* Transfer allowed transmitted             */
  U32 txAllowRx;    /* Transfer allowed received                */
  U32 rteUnavCnt;   /* Route unavailable                        */
  U32 sifOctTx;     /* Number of SIF octets transmitted         */
  U32 sioOctTx;     /* Number of SIO octets transmitted         */
  U32 durRteUnav;   /* Duration of route unavailability         */
} MTP3RouteStats; 

See Also

Mtp3MgmtInit



(Page 22 of 29 in this chapter) Version


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