HP UX 11i v2 Networking Software manual Dlresetind, Dlresetreq

Models: UX 11i v2 Networking Software

1 175
Download 175 pages 52.54 Kb
Page 123
Image 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

Chapter 2

123

Page 123
Image 123
HP UX 11i v2 Networking Software manual Dlresetind, Dlresetreq