DLPI Programmer's Guide

Chapter 2 123
DLPI Primitives
Connection-mode Service Primitives
Format
The message consists of one M_PROTO message block containing the
structure shown below.
typedef struct {
ulong dl_primitive;
} dl_reset_req_t;
Parameters
dl_primitive
DL_RESET_REQ
State
The message is valid in state DL_DATAXFER.
New State
The resulting state is DL_USER_RESET_PENDING.
Response
If the disconnect is successful, DL_OK_ACK is sent to the DLS user
resulting in state DL_IDLE.
If the request fails, 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_IND
Informs the DLS user that either the remote DLS user is
re-synchronizing the data link connection, or the DLS provider is
reporting loss of data for which it can not recover. The indication conveys
the reason for the reset.
Format