Manual page for queue(9S)
queue - STREAMS queue structure
Architecture independent level 1 (DDI/DKI).
A STREAMS driver or module consists of two
for upstream processing (read) and one for downstream processing
(write). This structure is the major building block of a stream.
It contains pointers to the processing procedures, pointers to the
next and previous queues in the stream, flow control parameters, and
a pointer defining the position of its messages on the STREAMS
structure is defined as type
struct qinit *q_qinfo; /* module or driver entry points */
struct msgb *q_first; /* first message in queue */
struct msgb *q_last; /* last message in queue */
struct queue *q_next; /* next queue in stream */
struct queue *q_link; /*to next queue for scheduling*/
void *q_ptr; /* pointer to private data structure */
ulong q_count; /* approximate size of message queue */
ulong q_flag; /* status of queue */
long q_minpsz; /* smallest packet accepted by QUEUE */
long q_maxpsz; /* largest packet accepted by QUEUE */
ulong q_hiwat; /* high water mark */
ulong q_lowat; /* low water mark */
Valid flags are as follows:
queue is already enabled to run.
someone wants to read queue.
someone wants to write to queue.
queue is considered full.
this is the reader (first) queue.
this queue in use (allocation).
do not enable queue via putq.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97