Retrieves and optionally resets the statistics for the specified SCTP SCT SAP.
SCTP_STATUS TXSCTPFUNC SctpSctSapStatistics ( U8 board, SCTPSctSapSts *pStats, S16 sapid, Bool isReset)
Argument |
Description |
board |
TX board number on which the desired SCTP layer resides. Valid range is 1 through MAXBOARD (currently 32). |
pStats |
Pointer to the SCTPSctSapSts structure where the requested statistics information is returned. For information, see SCTPSctSapSts. |
sapid |
SCT SAP identifier. This value is always zero (0). |
isReset |
If non-zero, statistics are set to zero after retrieval. |
Return value |
Description |
SCTP_SUCCESS |
|
SCTP_BOARD |
Invalid board number. |
SCTP_DRIVER |
CPI driver error. |
SCTP_HANDLE |
SctpMgmtInit was not called for the specified board. |
SCTP_PARAM |
Invalid parameter. |
SCTP_RESPONSE |
Incorrect response from the board. |
SCTP_TIMEOUT |
No response from the board. |