DLwput(3dlpi) DLwput(3dlpi)
NAME
DLwput - put routine for write queue
SYNOPSIS
DLwput(queue_t *q, mblk_t *mp)
Parameters
q pointer to the write queue
mp message pointer
DESCRIPTION
This is the put routine for the write queue. It interprets
the DLPI primitives and invokes appropriate Hardware Dependent
Layer functions. The following types of commands are
understood:
data link commands
Flush operation for read and write queues
ioctls
Any other type of data is discarded.
Flushing of queues is performed in DLwput() itself. If the
flush is for the write queue, the input message is freed-up
after the write queue is flushed. If the flush is for the
read queue, the read queue is flushed, the FLUSHW flag is
turned off (if it was set initially in the b_rptr field) and
the input message is sent back on the read queue.
DLcmds() is called for further processing of data link
commands and DLioctl() is called for ioctls.
Response
none
Layer
Hardware Independent.
REFERENCES
Hardware Independent Layer Functions Called
DLcmnds()
Copyright 1994 Novell, Inc. Page 1
DLwput(3dlpi) DLwput(3dlpi)
DLioctl()
Hardware Dependent Layer Functions Called
none
Copyright 1994 Novell, Inc. Page 2