Content-type: text/html Man page of streamadm

streamadm

Section: Devices and Network Interfaces (4)
Index Return to Main Contents
 

NAME

streamadm - Defines configuration information about a STREAMS module or driver  

SYNOPSIS

#include <sys/stream.h> struct streamadm {        uint sa_version ;
       uint sa_flags ;
       char sa_name [FMNAMESZ+1];
       caddr_t sa_ttys ;
       uint sa_sync_level ;
       caddr_t sa_sync_info ;
       };
 

PARAMETERS

Version identifier for the streamadm structure. Used for compatibility reasons. A flag indicating the type of STREAMS. Possible values are For a STREAMS driver. For a STREAMS module. The unique name of the module or driver. Modules and drivers share a common name space. The maximum length for a name is set by FMNAMESZ. A pointer to the ttys() routine that will be used by the module or driver. When the module or driver is added via strmod_add(), this pointer will be placed in the d_ttys field in the cdevsw structure. If the driver is not a tty driver, this field is set to NULL. The synchronization level for the module or driver. This field is relevant on multiprocessors. The possible values are: The default, global level synchronization. Global level synchronization. Arbitrary level synchronization. Module level synchronization. Queue pair level synchronization. Queue level synchronization. A pointer to synchronization data. This field is relevant if sa_sync_level is SQLVL_ELSEWHERE.  

DESCRIPTION

The streamadm structure defines additional configuration information for a STREAMS module or driver. The operating system configuration procedure uses this structure in addition to the traditional streamtab structure when configuring a STREAMS module or driver.

The Network Programmer's Guide contains additional information about the synchronization levels for the module or driver.  

RELATED INFORMATION

Interfaces: strmod_add(2), strmod_del(2).

Network Programmer's Guide delim off


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:03 GMT, October 02, 2010