Previous section.

Data Link Provider Interface (DLPI), Version 2
Copyright © 2000 The Open Group

NAME

DL_DETACH_REQ (dl_detach_req_t) - for style 2 DLS providers, this requests the DLS provider detach a physical point of attachment (PPA) from a stream. The request may not be issued to a style 1 DLS provider; doing so may cause errors.

SYNOPSIS

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


typedef struct {
    t_uscalar_t  dl_primitive;
} dl_detach_req_t;


PARAMETERS

dl_primitive

conveys 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, message DL_ERROR_ACK is returned and the resulting state is unchanged.

ERRORS

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.

Contents Next section Index