Obtains general status information for the SCTP layer, including the size of reserved and allocated memory.
SCTP_STATUS TXSCTPFUNC SctpGenStatus ( U8 board, SCTPGenSta *sta)
Argument |
Description |
board |
TX board number on which the desired SCTP layer resides. Valid range is 1 through MAXBOARD (currently 32). |
sta |
Pointer to the SCTPGenSta structure where the requested status information is returned. For information, see SCTPGenSta. |
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. |