DLunbind_req(3dlpi) DLunbind_req(3dlpi)
NAME
DLunbind_req - process DL_UNBIND_REQ primitive
SYNOPSIS
DLunbind_req(queue_t *q, mblk_t *mp)
Parameters
q pointer to the write queue
mp message pointer
DESCRIPTION
This function processes the DL_UNBIND_REQ primitive. The
latter is used to unbind a SAP from a Stream. If the state of
the SAP is not DL_IDLE, a DL_OUTSTATE error is returned by
calling DLerror_ack(). If there is not enough memory for a
reply, the request is discarded. The SAP state is reset, both
the STREAMS queues are flushed and a reply is sent in the form
of a DL_OK_ACK message. The SAP is specified in host order.
Response
error code DL_OUTSTATE
DL_OK_ACK sent upstream
Layer
Hardware Independent.
REFERENCES
Hardware Independent Layer Functions Called
DLerror_ack()
Hardware Dependent Layer Functions Called
none
Copyright 1994 Novell, Inc. Page 1