Informs the data link service (DLS) user that the data link connection on the current stream has been disconnected, or that a pending connection has been cancelled.
The primitive consists of one M_PROTO message block, which contains the following structure:
typedef struct
{
ulong dl_primitive;
ulong dl_originator;
ulong dl_reason;
ulong dl_correlation;
} dl_disconnect_ind_t;
The DL_DISCONNECT_IND primitive informs the DLS user of one of the following conditions:
The primitive indicates the origin and the cause of the disconnect.
Item | Description |
---|---|
dl_primitive | Specifies the DL_DISCONNECT_IND primitive. |
dl_originator | Indicates whether the disconnect originated from a DLS user or provider. Valid values are DL_USER and DL_PROVIDER. |
dl_reason | Specifies the reason for the disconnect. Reasons for disconnect
are:
|
dl_correlation | If the value is nonzero, specifies the correlation number contained in the DL_CONNECT_IND primitive being cancelled.This value permits the DLS user to associate the message with the proper DL_CONNECT_IND primitive. If the disconnect request indicates the release of a connection that is already established, or is indicating the rejection of a previously sent DL_CONNECT_REQ primitive, the value of the dl_correlation parameter is zero. |
Item | Description |
---|---|
Valid | The primitive is valid in any of the following states:
|
New | The resulting state is DL_IDLE. |