(Page 14 of 29 in this chapter) Version


Mtp3LinkSetStats

Description

Obtains (and potentially resets) link set statistical information about the specified link set number.

Prototype

MTP3_STATUS Mtp3LinkSetStats (U8 board,
S16 linkSetNo,
MTP3LinkSetStats *pStats,
BOOL bReset)

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

linkSetNo Link set number about which to obtain status information. This must have been previously defined via the Mtp3SetLinkSetCfg function.

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

bReset Optionally resets statistics.

Return Values

Details

Link set statistics include the number of link set start and stop failures and the duration of link set unavailability.

typedef struct _Mtp3LinkSetStats /* MTP Level 3 link set
                                    statistics                 */
{
  U32  strtLnkSetFail;   /* Start of linkset failure           */
  U32  stopLnkSetFail;   /* Stop of linkset failure            */
  U32  durLnkSetUnav;    /* Duration of linkset unavailability */
} MTP3LinkSetStats;

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

Mtp3MgmtInit, Mtp3SetLinkSetCfg



(Page 14 of 29 in this chapter) Version


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