Data Structures for Drivers linkblk(9S)
NAME
linkblk - STREAMS data structure sent to multiplexor drivers
to indicate a link
SYNOPSIS
#include
INTERFACE LEVEL
Architecture independent level 1 (DI/DKI)
DESCRIPTION
The linkblk structure is used to connect a lower Stream to
an upper STREAMS multiplexor driver. This structure is
used in conjunction with the ILINK, IUNLINK, PLINK, and
PUNLINK ioctl commands. See streamio(7I). The MDATA por-
tion of the MIOCTL message contains the linkblk struc-
ture. Note that the linkblk structure is allocated and ini-
tialized by the Stream head as a result of one of the above
ioctl commands.
STRUCTURE MEMBERS
queuet *lqtop; /* lowest level write queue of upper stream */
/* (set to NUL for persistent links) */
queuet *lqbot; /* highest level write queue of lower stream */
int lindex; /* index for lower stream. */
SEE ALSO
ioctl(2), streamio(7I)
STREAMS Programming Guide
SunOS 5.11 Last change: 7 Jul 1994 1
|