Obtains SCT SAP parameter values from the SCTP layer.
SCTP_STATUS TXSCTPFUNC SctpGetSctSapCfg ( U8 board, SCTPSctSapCfg *pSctSapCfg, S16 sapid)
Argument |
Description |
board |
TX board number on which the desired SCTP layer resides. Valid range is 1 through MAXBOARD (currently 32). |
pSctSapCfg |
Pointer to the SCTPSctSapCfg structure where the requested configuration information is returned. For information, see SCTPSctSapCfg. |
sapid |
Identifier of the upper SAP for which to obtain information. |
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. |