Data Structures for Drivers qband(9S)
NAME
qband - STREAMS queue flow control information structure
SYNOPSIS
#include
INTERFACE LEVEL
Architecture independent level 1 (DI/DKI)
DESCRIPTION
The qband structure contains flow control information for
each priority band in a queue.
The qband structure is defined as type qbandt.
STRUCTURE MEMBERS
struct qband*qbnext; /* next band's info */
sizet qbcount /* number of bytes in band */
struct msgb *qbfirst; /* start of band's data */
struct msgb *qblast; /* end of band's data */
sizet qbhiwat; /* band's high water mark */
sizet qblowat; /* band's low water mark */
uintt qbflag; /* see below */
Valid flags are as follows:
QBFUL Band is considered full.
QBWANTW Someone wants to write to band.
SEE ALSO
strqget(9F), strqset(9F), msgb(9S), queue(9S)
STREAMS Programming Guide
NOTES
All access to this structure should be through strqget(9F)
and strqset(9F). It is logically part of the queue(9S) and
its layout and partitioning with respect to that structure
might change in future releases. If portability is a con-
cern, do not declare or store instances of or references to
this structure.
SunOS 5.11 Last change: 14 Nov 1996 1
|