Obtains and optionally resets the statistics for the specified M3UA NSAP.
STATUS TXM3UAFUNC M3uaNSapStatistics ( U8 board, M3UANSapSts *pSts, Bool isReset, S16 nsapNo)
Argument |
Description |
board |
TX board number on which the desired M3UA layer resides. Valid range is 1 through MAXBOARD (currently 32). |
pSts |
Pointer to the M3UANSapSts structure where the requested statistics information is returned. For information, see M3UANSapSts. |
isReset |
If non-zero, statistics are reset after returning them to the application. |
nsapNo |
Identifier of the NSAP for which to obtain statistics. |
Return value |
Description |
M3UA_SUCCESS |
|
M3UA_BOARD |
Invalid board number. |
M3UA_DRIVER |
CPI driver error. |
M3UA_HANDLE |
M3UAMgmtInit was not called for the specified board. |
M3UA_PARAM |
Invalid parameter. |
M3UA_RESPONSE |
Incorrect response from the board. |
M3UA_TIMEOUT |
No response from the board. |