'\"!  tbl | mmdoc
'\"macro stdmacro
.if n .pH ddi_dki.module_info @(#)module_info	40.6 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} module_info D4DK "STREAMS" "DDI/DKI" "\&"
.if \nX=1 .ds x} module_info D4DK "STREAMS" "DDI/DKI"
.if \nX=2 .ds x} module_info D4DK "" "\&"
.if \nX=3 .ds x} module_info "" "" "\&"
.TH \*(x}
.IX "\f4module_info\fP(D4DK)"
.SH NAME
\f4module_info\f1 \- STREAMS driver identification and limit value structure 
.SH SYNOPSIS
\f4#include <sys/stream.h>\f1
.SH DESCRIPTION
When a module or driver is declared, several identification
and limit values can be set.
These values are stored in the
\f4module_info\f1 structure.
.P
The \f4module_info\f1 structure is intended to be read-only.
However, the flow control limits (\f4mi_hiwat\f1 and \f4mi_lowat\f1)
and the packet size limits (\f4mi_minpsz\f1 and \f4mi_maxpsz\f1) are
copied to the \f4QUEUE\f1 structure, where they may be modified.
.SH STRUCTURE MEMBERS
.TS
lf4p8 2 lf4p8 2 lf4p8.
ushort	mi_idnum;	/* module ID number */
char	*mi_idname;	/* module name */
short	mi_minpsz;	/* minimum packet size */
short	mi_maxpsz;	/* maximum packet size */
ushort	mi_hiwat;	/* high water mark */
ushort	mi_lowat;	/* low water mark */
.TE
.P
The constant \f4FMNAMESZ\f1, limiting the length of a module's name,
is currently set to a value of eight.
.SH SEE ALSO
.na
\f4queue\f1(D4DK)
.ad
