SctpInitGenCfg

Initializes the SCTP general parameter structures (SCTPGenCfg and SCTPGenReCfg) with default values. SCTPGenReCfg is a substructure to SCTPGenCfg.

Prototype

SCTP_STATUS TXSCTPFUNC SctpInitGenCfg ( SCTPGenCfg *pCfg )

Argument

Description

pCfg

Pointer to the SCTPGenCfg structure to initialize. For information, see SCTPGenCfg.


Return values

Return value

Description

SCTP_SUCCESS

 


Details

Call this function prior to calling SctpSetGenCfg to define the general configuration parameters for SCTP.  You can optionally override specific field values before calling M3uaSetGenCfg.

For more information, see General SCTP configuration.

See also

SctpGetGenCfg