DLPI Primitives

Connection-mode Service Primitives

dl_growth

growth field for future enhancements to this primitive. Its value will be set to zero.

State

The message is valid in state DL_IDLE, or state DL_INCON_PENDING when the maximum number of outstanding DL_CONNECT_IND primitives has not been reached on this stream.

New State

The resulting state is DL_INCON_PENDING, regardless of the current state.

Response

The DLS user must eventually send either DL_CONNECT_RES to accept the connect request or DL_DISCONNECT_REQ to reject the connect request. In either case, the responding message must convey the correlation number received in the DL_CONNECT_IND. The DLS provider will use the correlation number to identify the connect request to which the DLS user is responding.

DL_CONNECT_RES

Directs the DLS provider to accept a connect request from a remote (calling) DLS user on a designated stream. The DLS user may accept the connection on the same stream where the connect indication arrived, or on a different stream that has been previously bound.

Format

The message consists of one M_PROTO message block containing the structure shown below.

typedef struct {

 

ulong

dl_primitive;

ulong

dl_correlation;

ulong

dl_resp_token;

ulong

dl_qos_length;

ulong

dl_qos_offset;

ulong

dl_growth;

} dl_connect_res_t;

 

Parameters

 

dl_primitive

 

DL_CONNECT_RES

Chapter 2

113

Page 113
Image 113
HP UX 11i v2 Networking Software manual Dlconnectres