Manual Page Result
0
Command: streamadm | Section: 4 | Source: Digital UNIX | File: streamadm.4.gz
streamadm(4) Kernel Interfaces Manual streamadm(4)
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 dri-
ver, this field is set to NULL. The synchronization level for the mod-
ule or driver. This field is relevant on multiprocessors. The possi-
ble values are: The default, global level synchronization. Global
level synchronization. Arbitrary level synchronization. Module level
synchronization. Queue pair level synchronization. Queue level syn-
chronization. A pointer to synchronization data. This field is rele-
vant 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
streamadm(4)