Solstice X.25 9.2 Developer's Guide

11.1.7 DL_CONNECT_IND--Indicate Incoming Connection

Indicates that a remote user wants to establish a connection. This primitive is sent upstream when a SABME or SABM is received from the network.

Associated Structure

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

typedef struct {
        t_uscalar_t     dl_primitive;           /* DL_CONNECT_IND */
        t_uscalar_t     dl_correlation;         /* provider's correl. token */
        t_uscalar_t     dl_called_addr_length;  /* length of called address */
        t_uscalar_t     dl_called_addr_offset;  /* offset from start of block */
        t_uscalar_t     dl_calling_addr_length; /* length of calling address */
        t_uscalar_t     dl_calling_addr_offset; /* offset from start of block */
        t_uscalar_t     dl_qos_length;          /* length of qos structure */
        t_uscalar_t     dl_qos_offset;          /* offset from start of block */
        t_uscalar_t     dl_growth;              /* set to zero */
} dl_connect_ind_t;

The members of the dl_connect_ind_t structure are:

Table 11-14 Members of the dl_connect_ind_t structure

Member 

Description 

dl_primitive

Should be set to the name of this primitive. 

dl_correlation

Unique identifier for the connection, to be passed back downstream in a DL_CONNECT_RES or DL_DISCONNECT_RES message later on. Can also be passed upstream in a subsequent DL_DISCONNECT_IND message.

dl_called_addr_length

Set to 7 when interfacing with LLC2 and 21 when interfacing with LAPB. 

dl_called_addr_offset

Offset to the called (destination) address, which is stored in struct llc_dladdr or struct lapbformat format.

dl_calling_addr_length

Set to 7 when working with LLC2 and 0 when working with LAPB. 

dl_calling_addr_offset

Offset to the calling (source) address, which is stored in struct llc_dladdr or struct pstnformat format.

dl_qos_length

Always set to 0. 

dl_qos_offset

Always set to 0.