Previous section.

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

NAME

DL_SUBS_UNBIND_REQ (dl_subs_unbind_req_t) - requests the DLS Provider to unbind the DLSAP that had been bound by aprevious DL_SUBS_BIND_REQ from this stream.

SYNOPSIS

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


typedef struct {
    t_uscalar_t  dl_primitive;
    t_uscalar_t  dl_subs_sap_offset;
    t_uscalar_t  dl_subs_sap_length;
} dl_subs_unbind_req_t;


PARAMETERS

dl_primitive

conveys DL_SUBS_UNBIND_REQ.

dl_subs_sap_offset

conveys the offset of the DLSAP from the beginning of the M_PROTO block.

dl_subs_sap_length

conveys the length of the specified DLSAP.

STATE

The message is valid in state DL_IDLE.

NEW STATE

The resulting state is DL_SUBS_UNBIND_PND.

RESPONSE

If the unbind request is successful, a DL_OK_ACK is sent to the DLS User. The resulting state is DL_IDLE. If the request fails, message DL_ERROR_ACK is returned and the resulting state is unchanged.

ERRORS

DL_BADADDR

The DLSAP address information was invalid or was in an incorrect format.

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