AssocCfg

Dependent function: None.

The following AssocCfg structure contains SCTP association parameters for M3UA. Bold text indicates fields you can set. Unbolded fields are either unused or for internal use only. AssocCfg is a substructure to the M3UAPspCfg structure, and its values are set at the time of peer server process configuration.

typedef struct _AssocCfg          /* SCTP association configuration */
{
    NetAddr         priDstAddr;     /* primary destination address */
    NetAddrLst      dstAddrLst;     /* destination address list */
    U16             dstPort;        /* destination port */
    U16             locOutStrms;    /* number of streams supported */
    Bool            clientSide;     /* If true, we initiate associations (if IPSP) */

    U8              tos;            /* Type of Service octet */
    U8              spare1[2];            /* Alignment */
} AssocCfg;

The AssocCfg structure is a substructure to the M3UAPspCfg. structure. The following table describes the fields in the AssocCfg structure that you can set. These fields are not re-configurable.

Field

Type

Default

Description

priDstAddr

NetAddr

192.168.1.2

Primary destination address of the remote peer used in outgoing association requests, defined by the NetAddr structure. For information, see NetAddr.

dstAddrLst

NetAddrLst

None.

List of destination addresses for the association, defined by the NetAddrLst structure. This list is automatically obtained from the source addresses received in the Initiation (INIT) or Initiation Acknowledgement (INIT ACK) SCTP messages.

For more information, see NetAddrLst.

dstPort

U16

2905

Remote SCTP port.

locOutStrms

U16

2

Number of streams supported by this association. Valid range is 1 - 255.

clientSide

Bool

True

In IPSP mode, if this value set to TRUE, an association is established automatically.

tos

U8

0

Type of Service octet value that is sent in all outgoing IP messages over this association. This can later be changed through the M3uaMgmtCtrl function.