xref: /titanic_51/usr/src/man/man9s/linkblk.9s (revision 1886f67eb9de99edbcda88765f2c603a30c87fc2)
te
Copyright (c) 2000, Sun Microsystems, Inc., All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LINKBLK 9S "Jul 7, 1994"
NAME
linkblk - STREAMS data structure sent to multiplexor drivers to indicate a link
SYNOPSIS

#include <sys/stream.h>
INTERFACE LEVEL

Architecture independent level 1 (DDI/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 I_LINK, I_UNLINK, P_LINK, and P_UNLINK ioctl commands. See streamio(7I). The M_DATA portion of the M_IOCTL message contains the linkblk structure. Note that the linkblk structure is allocated and initialized by the Stream head as a result of one of the above ioctl commands.

STRUCTURE MEMBERS
queue_t *l_qtop; /* lowest level write queue of upper stream */
 /* (set to NULL for persistent links) */
queue_t *l_qbot; /* highest level write queue of lower stream */
int l_index; /* index for lower stream. */
SEE ALSO

ioctl(2), streamio(7I)

STREAMS Programming Guide