[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    module_info(9S) manual page Table of Contents

Name

module_info - STREAMS driver identification and limit value structure

Synopsis

#include <sys/stream.h>

Interface Level

Architecture independent level 1 (DDI/DKI).

Description

When a module or driver is declared, several identification and limit values can be set. These values are stored in the module_info structure.

The module_info structure is intended to be read-only. However, the flow control limits (mi_hiwat and mi_lowat) and the packet size limits (mi_minpsz and mi_maxpsz) are copied to the QUEUE structure, where they may be modified.

Structure Members

ushortmi_idnum;/* module ID number */
char*mi_idname;/* module name */
longmi_minpsz;/* minimum packet size */
longmi_maxpsz;/* maximum packet size */
ulongmi_hiwat;/* high water mark */
ulongmi_lowat;/* low water mark */

The constant FMNAMESZ , limiting the length of a module’s name, is set to eight in this release.

See Also

queue(9S)


Table of Contents