SctpSetTsapCfg

Configures the SCTP layer with the values contained in the TSAP configuration structure.

Prototype

SCTP_STATUS TXSCTPFUNC SctpSetTSapCfg ( U8 board, SCTPTSapCfg *pTSapCfg)

Argument

Description

board

TX board number on which the desired SCTP layer resides. Valid range is 1 through MAXBOARD (currently 32).

pTSapCfg

Pointer to the SCTPTSapCfg structure that contains the values to be configured. For information, see SCTPTSapCfg.


Return values

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.


Details

Call this function any time after you configure an SCT SAP, but before an application attempts to send data for transaction processing.

An application must set the field values in the SCTPTSapCfg structure before calling SctpSetTSapCfg. Set the values in any of the following ways:

For more information, see SCTP TSAP configuration.

See also

SctpGetTsapCfg