SctpInitSctSapCfg

Initializes the SCT SAP configuration structures (SCTPSctSapCfg and SCTPSctSapReCfg) with default values. SCTPSctSapReCfg is a substructure to SCTPSctSapCfg.

Prototype

SCTP_STATUS TXSCTPFUNC SctpInitSctSapCfg ( SCTPSctSapCfg *pCfg, U16 id )

Argument

Description

pCfg

Pointer to the SCTPSctSapCfg structure that contains the SCT SAP configuration values to set. For information, see SCTPSctSapCfg.

id

Identifier of the SCT SAP to initialize. This value is always 0 (zero).


Return values

Return value

Description

SCTP_SUCCESS

 


Details

Call this function prior to calling SctpSetSctSapCfg to define an SCT SAP. You can optionally override specific field values before calling M3uaSetSctSapCfg.

For more information, see SCTP SCT SAP configuration.

See also

SctpGetSctSapCfg