DLPI Primitives

Connection-mode Service Primitives

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

typedef struct {

 

ulong

dl_primitive;

} dl_reset_res_t;

 

Parameters

 

dl_primitive

 

DL_RESET_RES

State

The primitive is valid in state DL_PROV_RESET_PENDING.

New State

The resulting state is DL_RESET_RES_PENDING.

Response

If the reset response is successful, DL_OK_ACK is sent to the DLS user resulting in state DL_DATAXFER.

If the reset response is erroneous, DL_ERROR_ACK is returned, and the resulting state is unchanged.

Reasons for Failure

DL_OUTSTATE

The primitive was issued from an invalid state.

DL_SYSERR

A system error has occurred and the UNIX system error is indicated in the DL_ERROR_ACK.

DL_RESET_CON

Informs the reset-initiating DLS user that the reset has completed.

Format

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

typedef struct {

 

ulong

dl_primitive;

} dl_reset_con_t;

 

Chapter 2

125