Initializes the TSAP configuration structures (SCTPTSapCfg and SCTPTSapReCfg) with default values. SCTPTSapReCfg is a dependent structure to SCTPTSapCfg.
SCTP_STATUS TXSCTPFUNC SctpInitTSapCfg ( SCTPTSapCfg *pCfg, U16 id)
Argument |
Description |
pCfg |
Pointer to the SCTPTSapCfg structure that contains the TSAP configuration values to set. For information, see SCTPTSapCfg. |
id |
Identifier of the TSAP to initialize. This value is always zero (0). |
Return value |
Description |
SCTP_SUCCESS |
|
Call this function prior to calling SctpSetTsapCfg to define a TSAP. You can optionally override specific field values before calling M3uaSetTsapCfg.
For more information, see SCTP TSAP configuration.