Solstice X.25 9.2 Developer's Guide

11.1.11 DL_DISCONNECT_IND--Indicates Connection Disconnect

Informs the user that the connection has been disconnected, or that a pending connection has been aborted. This message is passed upstream when a DISC frame is received from the network, or if the ack timer expires (because either the remote end didn't respond to a SABME/ DL_CONNECT_REQ, or to a SABM, or because during data transfer the connection went down).

Associated Structure

This message consists of one M_PROTO message block containing the following structure:

typedef struct {
    t_uscalar_t   dl_primitive;    /* DL_DISCONNECT_IND */
    t_uscalar_t   dl_originator;   /* USER or PROVIDER */
    t_uscalar_t   dl_reason;       /* permanent or transient */
    t_uscalar_t   dl_correlation;  /* association with connect_ind */
 } dl_disconnect_ind_t;

The dl_disconnect_ind_t structure has the following members:

Table 11-21 Members of dl_disconnect_ind structure

Member 

Description 

dl_primitive

Should be set to the name of this primitive. 

dl_originator

Set to either: 

DL_USER--a DISC frame was received from the network.

DL_PROVIDER--the ack timer expired.

dl_reason

Set to: 

DL_CONREJ_DEST_UNREACH_TRANSIENT--a pending connection was aborted.

DL_DISC_TRANSIENT_CONDITION--an active connection was disconnected.

DL_DISC_PERMANENT_CONDITION-- the physical level is not connected.

dl_correlation

If a pending incoming call is being aborted, this contains the correlation value that was passed in the DL_CONNECT_IND primitive.