streamtab(D4DK) —
NAME
streamtab − STREAMS driver and module declaration structure
SYNOPSIS
#include <sys/stream.h>
DESCRIPTION
Each STREAMS driver or module must have a streamtab structure. The streamtab structure must be named prefixinfo, where prefix is the driver prefix.
The streamtab structure is made up of pointers to qinit structures for both the read and write queue portions of each module or driver. (Multiplexing drivers require both upper and lower qinit structures.) The qinit structure contains the entry points through which the module or driver routines are called.
STRUCTURE MEMBERS
| struct qinit | ∗st_rdinit; | /∗ read queue ∗/ |
| struct qinit | ∗st_wrinit; | /∗ write queue ∗/ |
| struct qinit | ∗st_muxrinit; | /∗ lower read queue∗/ |
| struct qinit | ∗st_muxwinit; | /∗ lower write queue∗/ |
The st_rdinit field contains a pointer to the read-side qinit structure. For a multiplexing driver, this is the qinit structure for the upper read side.
The st_wrinit field contains a pointer to the write-side qinit structure. For a multiplexing driver, this is the qinit structure for the upper write side.
The st_muxrinit field contains a pointer to the lower read-side qinit structure for multiplexing drivers. For modules and non-multiplexing drivers, this field should be set to NULL.
The st_muxwinit field contains a pointer to the lower write-side qinit structure for multiplexing drivers. For modules and non-multiplexing drivers, this field should be set to NULL.
SEE ALSO
qinit(D4DK)
DDI/DKI — STREAMS