DLPI Primitives

Local Management Primitives

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_DETACH_REQ

Requests the DLS provider to disassociate a physical point of attachment (PPA) with a stream.

The message consists of one M_PROTO message block, which contains the following structure.

Format

typedef struct {

 

ulong

dl_primitive;

} dl_detach_req_t;

 

Parameters

 

dl_primitive

DL_DETACH_REQ

State

The message is valid in state DL_UNBOUND.

New State

The resulting state is DL_DETACH_PENDING.

Response

If the detach request is successful, DL_OK_ACK is sent to the DLS user resulting in state DL_UNATTACHED.

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

62

Chapter 2

Page 62
Image 62
HP UX 11i v2 Networking Software manual Dldetachreq, Dloutstate, Dlsyserr