Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Data Structures for Driversmodule_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 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 can be modified.

STRUCTURE MEMBERS

 
 
ushort_t      mi_idnum;      /* module ID number */
char          *mi_idname;    /* module name */
ssize_t       mi_minpsz;     /* 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

 

queue(9S)

STREAMS Programming Guide


SunOS 5.9Go To TopLast Changed 14 Nov 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.