module_info man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

MODULE_INFO(9S)						       MODULE_INFO(9S)

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	struc‐
       ture.

       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
       can be modified.

       For a driver, mi_idname must match the name of the driver binary	 file.
       For a module, mi_idname must match the fname field of the fmodsw struc‐
       ture. See fmodsw(9S) for details.

STRUCTURE MEMBERS
	 ushort_t      mi_idnum;      /* module ID number */
	 char	       *mi_idname;    /* module name */
	 ssize_t       mi_minpsz;     /* minimum packet size */
	 ssize_t       mi_maxpsz;     /* maximum packet size */
	 size_t	       mi_hiwat;      /* high water mark */
	 size_t	       mi_lowat;      /* low water mark */

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

SEE ALSO
       fmodsw(9S), queue(9S)

       STREAMS Programming Guide

				 Nov 26, 2002		       MODULE_INFO(9S)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net