[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

DL_DISCONNECT_IND Primitive for X.25

Purpose

Informs the data link service (DLS) user that the data link connection on the current stream has been disconnected.

Structure

This primitive consists of one M_PROTO message block with the following structure:

typedef struct {
   ulong dl_primitive;
   ulong dl_originator;
   ulong dl_reason;
   ulong dl_correlation;
} dl_disconnect_ind_t;

Description

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.

Parameters

dl_primitive Specifies the DL_DISCONNECT_IND primitive.
dl_originator Specifies one of the following:
DL_USER Indicates whether the disconnect originated from a DLS user.
DL_PROVIDER Indicates whether the disconnect originated from a DLS provider.
dl_reason Specifies the reason for the disconnect. Reasons for disconnect are:
DL_DISC_PERMANENT_CONDITION Indicates the connection was released due to a permanent condition.
DL_DISC_TRANSIENT_CONDITION Indicates the connection was released due to a temporary condition.
DL_CONREJ_DEST_UNKNOWN Indicates the connect request has an unknown destination.
DL_CONREJ_DEST_UNREACH_PERMANENT Indicates the connection was released because the destination for the connect request could not be reached. This is a permanent condition.
DL_CONREJ_DEST_UNREACH_TRANSIENT Indicates the connection was released because the destination for the connect request could not be reached. This is a temporary condition.
DL_CONREJ_QOS_UNAVAIL_PERMANENT Indicates the requested quality of service parameters became permanently unavailable while establishing a connection.
DL_CONREJ_QOS_UNAVAIL_TRANSIENT Indicates the requested quality of service parameters became temporarily unavailable while establishing a connection.
DL_DISC_UNSPECIFIED Indicates the connection was closed due to an unspecified reason.
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 0.

States

Valid The message is valid in any of the following states:
  • DL_DATAXFER
  • DL_INCON_PENDING
  • DL_OUTCON_PENDING
  • DL_PROV_RESET_PENDING
  • DL_USER_RESET_PENDING
New The resulting state is DL_IDLE.

Implementation Specifics

This primitive is part of X.25 Licensed Program.


[ Previous | Next | Contents | Search ]