Go to main content

STREAMS Programming Guide

Exit Print View

Updated: November 2020
 
 

Index

Numbers and Symbols

/kernel/drv
loading device driversindex iconKernel Loading
/kernel/strmod
loading moduleindex iconKernel Loading

A

accessing queue information
strqgetindex iconUsing Queue Information
adbindex iconadb Command
adjmsg kernel utilityindex iconKernel Utility Interface Summary
administration tools
straceindex iconstrace Command
strerrindex iconstrerr Daemon
strlogindex iconstrlog Command
strqgetindex iconstrqget Command
strqsetindex iconstrqset Command
allocate header for output message
exampleindex iconWrite Service Procedure
allocb
exampleindex iconMessage Allocation and Freeing
allocb kernel utilityindex iconKernel Utility Interface Summary
anchorindex iconanchor
anchors
index iconSTREAMS Anchors
index iconOther ioctl Commands
index iconAdding and Removing Modules
clientindex iconSTREAMS Anchors fd_server.c
lockindex iconSTREAMS Anchors
privilegeindex iconAnchors and Data Flow
serverindex iconSTREAMS Anchors fd_server.c
append a character to a message block
exampleindex iconUse of allocb
asynchronous callback functions
perimeterindex iconAsynchronous Callback Functions
asynchronous input/output
in pollingindex iconAsynchronous Input and Output
AT&T STREAMSindex iconWrite-Side Processing
autopush
index iconSTREAMS Administrative Driver
index iconAutopush Facility
autopush configuration file
exampleindex iconApplication Interface

B

b_bandindex iconSimple Message Referencing the Data Block
placementindex iconSimple Message Referencing the Data Block
b_nextindex iconSimple Message Referencing the Data Block
b_previndex iconSimple Message Referencing the Data Block
b_rptrindex iconSimple Message Referencing the Data Block
b_wptrindex iconSimple Message Referencing the Data Block
back-enable of a queueindex iconFlow Control Mechanism
background job
in job controlindex iconJob Control
backq kernel utility
index iconKernel Utility Interface Summary
index iconKernel Utility Interface Summary
bandinfo structure
exampleindex iconFlush Handling
flush band priorityindex iconFlushing According to Priority Bands
bidirectional transfer
example
index iconBidirectional Data Transfer
index iconBidirectional Data Transfer Example
boundary
data and messageindex iconRead Options
bp->b_rptrindex iconFlow Control in Service Procedures
bp->b_wptrindex iconFlow Control in Service Procedures
bpindex iconFlow Control in Service Procedures
breaking stream connections for loop-around device
exampleindex iconUse of ioctl to Copy Data From User Space to Kernel Space
bufcallindex iconRecovering From No Buffers
releasing callback requestsindex iconReleasing Callback Requests
bufcall kernel utilityindex iconKernel Utility Interface Summary

C

canput kernel utilityindex iconKernel Utility Interface Summary
cb_ops structure
driver entry pointindex iconSTREAMS Driver Entry Points
driver entry points for non-STREAMS driversindex iconcb_ops Structure
check module type
regular driver, module, or cloneable driverindex iconChecking the Module Type
check/print module listindex iconI_LIST ioctl
cloning (STREAMS)index iconCloning STREAMS Drivers
close a module
exampleindex iconExample of a Module Close
close
dismantling the streamindex iconClosing the Stream
cmn_err
message stringsindex iconKernel Debug Printing
compile, assemble and link commands
exampleindex iconDriver Compilation Lines
configuration entry point
STREAMS driver
index iconSTREAMS Configuration Entry Points
index iconSTREAMS Driver Entry Points
connld
index iconUnique Connections
index iconUnique Connections
controlling terminalindex iconAccessing the Controlling Terminal
copy data from user space to kernel space
exampleindex iconUse of ioctl to Copy Data From User Space to Kernel Space
copymsg kernel utilityindex iconKernel Utility Interface Summary
crashindex iconcrash Command
create priority band messageindex iconMessage Direction

D

DARAM
allocationindex iconExtended STREAMS Buffers
freeingindex iconExtended STREAMS Buffers
memory shared by kernel and I/O cardindex iconExtended STREAMS Buffers
data and message boundaries
RMODEMASKindex iconRead Options
RMSGDindex iconRead Options
RMSGNindex iconRead Options
RNORMindex iconRead Options
Data Link Provider Interfacesindex iconSTREAMS FAQ
datab structureindex iconMessage Structure
exampleindex iconMessage Structure
datamsg kernel utilityindex iconKernel Utility Interface Summary
db_baseindex iconMessage Structure
DDI, Device Driver Interfaceindex iconBasic Driver
ddi_copyinindex iconModule and Driver ioctl Calls
ddi_copyoutindex iconModule and Driver ioctl Calls
declarations for the loop-around driver
exampleindex iconDeclarations for the Loop-Around Driver
definitions of priority band fields
exampleindex iconUsing Queue Information
dev_ops structure
driver entry pointindex iconSTREAMS Driver Entry Points
represents a specific class or type of deviceindex icondev_ops Structure
device driver
character deviceindex iconBasic Driver
definitionindex iconBasic Driver
device typesindex iconBasic Driver
STREAMS driver characteristicsindex iconBasic Driver
device interrupt handler
exampleindex iconDevice Interrupt Handler
difference between driver and a moduleindex iconPushing a Module
DLPIindex iconSTREAMS FAQ
driver
ioctl controlindex iconModule and Driver Control
STREAMS
index iconSTREAMS Configuration Entry Points
index iconStructure of a STREAMS Device Driver
driver configuration entry points
exampleindex iconSimple Line Printer Driver
driver entry point
cb_ops structureindex iconSTREAMS Driver Entry Points
dev_ops structureindex iconSTREAMS Driver Entry Points
load kernel moduleindex iconSTREAMS Driver Entry Points
streamtabindex iconSTREAMS Driver Entry Points
driver entry pointsindex iconSTREAMS Driver Entry Points
driver flush handling
exampleindex iconDriver Flush Handling
driver interrupt
STREAMS driverindex iconSTREAMS Driver Entry Points
driver interrupt handling
exampleindex iconDriver Interrupt Handling
dupb kernel utilityindex iconKernel Utility Interface Summary
dupmsg kernel utilityindex iconKernel Utility Interface Summary

E

ECHOCTLindex iconDefault Settings
empty pipe
user process attempts readindex iconReading From a Pipe or FIFO
user process attempts writeindex iconWriting to a Pipe or FIFO
enableok kernel utilityindex iconKernel Utility Interface Summary
entry point
closeindex iconStream in More Detail
openindex iconStream in More Detail
error event
POLLERRindex iconPolling an Event
POLLHUPindex iconPolling an Event
POLLNVALindex iconPolling an Event
error events
pollingindex iconPolling an Event
esballoc(9F)
outstanding callbacks fromindex iconAsynchronous Callback Functions
esballocindex iconExtended STREAMS Buffers
exampleindex iconesballoc Example
esballoc kernel utilityindex iconKernel Utility Interface Summary
EUC handling in ldtermindex iconEUC Handling in ldterm
EUC header file
exampleindex iconEUC Header File
event pollingindex iconSynchronous Input and Output
exampleindex iconPolling an Event
explicit locks
message orderingindex iconPreserving Message Ordering
moduleindex iconMT SAFE Modules Using Explicit Locks
explicit locks, constraints
moduleindex iconConstraints When Using Locks
extended STREAMS buffers
index iconExtended STREAMS Buffers
index iconExtended STREAMS Buffers
allocationindex iconExtended STREAMS Buffers
freeingindex iconExtended STREAMS Buffers

F

fattachindex iconNamed Streams
fdetachindex iconNamed Streams
FIFO (STREAMS)index iconOverview of Pipes and FIFOs
basic operationsindex iconClosing a Pipe or FIFO
flush
index iconFlushing Pipes and FIFOs
index iconFlushing Pipes and FIFOs
file descriptor passingindex iconNamed Streams
filter module
exampleindex iconFilter Module
flow control
index iconflow control
index iconFlow Control Mechanism
index iconFlow Control in Service Procedures
check existence of message of particular priorityindex iconControlling Data Flow and Priorities
check if certain band is writableindex iconControlling Data Flow and Priorities
check if message is markedindex iconControlling Data Flow and Priorities
expedited dataindex iconFlow Control Mechanism
get priority of first messageindex iconControlling Data Flow and Priorities
in line discipline moduleindex iconData Flow Control
in module
index iconData Flow Control
index iconData Flow Control
processing of ordinary messageindex iconFlow Control Mechanism
routines
index iconFlow Control Mechanism
index iconFlow Control in Service Procedures
test forindex iconFlow Control Mechanism
flush handling
description
index iconFlushing the Read Side of a Stream
index iconM_FLUSH Message Handling
flags
index iconM_FLUSH Message
index iconM_FLUSH Message Handling
index iconFlush Handling
in driverindex iconDriver Flush Handling
line disciplineindex iconFlushing the Read Side of a Stream
pipes and FIFOsindex iconFlushing Pipes and FIFOs
flush handling, priority band data
exampleindex iconFlushing Priority Band
flush handling, read side
exampleindex iconFlushing the Write Side of a Stream
flush handling, write side
exampleindex iconFlushing the Write Side of a Stream
flush_exempt kernel utilityindex iconKernel Utility Interface Summary
flushband kernel utilityindex iconKernel Utility Interface Summary
flushing a queue, part 1
exampleindex iconFlushing a Queue
flushing priority band dataindex iconFlush Handling
descriptionindex iconFlush Handling
flushing stream data
arguments passed to M_FLUSHindex iconFlush Handling
descriptionindex iconFlush Handling
flushqindex iconFlushing Pipes and FIFOs
flushq kernel utilityindex iconKernel Utility Interface Summary
fmodsw structureindex iconMT SAFE Module
foreground job
in job controlindex iconJob Control
free routineindex iconExtended STREAMS Buffers
freeb kernel utilityindex iconKernel Utility Interface Summary
freemsg kernel utilityindex iconKernel Utility Interface Summary
freezestr kernel utilityindex iconKernel Utility Interface Summary
frequently asked IP interface questionsindex iconSTREAMS FAQ
full-duplex processingindex iconWhat Is STREAMS?

G

get stream module list
exampleindex iconI_LIST ioctl
getq kernel utilityindex iconKernel Utility Interface Summary
grantptindex icongrantpt Routine
with pseudo-tty driverindex iconPseudo-TTY Drivers: ptm and pts

H

hardening advice
canputnextindex iconFlow of put Procedure
copybindex iconExample of a Module put Procedure
copymsgindex iconExample of a Module put Procedure
db_ref > 1
index iconShared Data Block
index iconShared Data Block
dupbindex iconExample of a Module put Procedure
dupmsgindex iconExample of a Module put Procedure
ensure uniform changing of pointersindex iconData Alignment
incorrect user dataindex iconioctl Processing
proper bit alignmentindex iconData Alignment
putnext
index iconput Procedure
index iconEntry Points
qprocsonindex iconMessages Flowing Around the Module Before qprocson
removing an anchorindex iconAnchors and Data Flow
retain db_base <= b_rptr <= b_wptr <= db_limindex iconM_COPYOUT Example
strqgetindex iconUsing Queue Information
strqsetindex iconUsing Queue Information
hardware emulation module
index iconhardware emulation module
index iconHardware Emulation Module
index iconHardware Emulation Module
high-priority message
index iconFlow Control Mechanism
index iconMessage Ordering with One Priority Band
M_COPYINindex iconM_COPYIN Message
M_COPYOUTindex iconM_COPYOUT Message
M_ERRORindex iconM_ERROR Message
M_FLUSHindex iconM_FLUSH Message
M_HANGUPindex iconM_HANGUP Message
M_IOCACKindex iconM_IOCACK Message
M_IOCDATAindex iconM_IOCDATA Message
M_IOCNAKindex iconM_IOCNAK Message
M_PCPROTOindex iconM_PCPROTO Message
M_PCRSEindex iconM_PCRSE Message
M_PCSIGindex iconM_PCSIG Message
M_READindex iconM_READ Message
M_STOPindex iconSO_MREADOFF and M_STOP Messages
M_STOPIindex iconSO_MREADOFFI and M_STOPI Messages
M_UNHANGUPindex iconM_UNHANGUP Message
SO_MREADOFFindex iconSO_MREADOFF and M_STOP Messages
SO_MREADOFIindex iconSO_MREADOFFI and M_STOPI Messages

I

I_ANCHOR
index iconUsing Anchors
index iconSTREAMS Anchors
index iconAdding and Removing Modules
I_ANCHOR ioctl commandindex iconOther ioctl Commands
I_ATMARK ioctl commandindex iconOther ioctl Commands
I_CANPUT ioctl commandindex iconOther ioctl Commands
I_CKBAND ioctl commandindex iconOther ioctl Commands
I_FDINSERT ioctl commandindex iconOther ioctl Commands
I_FIND ioctl commandindex iconOther ioctl Commands
I_FLUSH ioctl commandindex iconOther ioctl Commands
I_FLUSHBAND ioctl commandindex iconOther ioctl Commands
I_GETBAND ioctl commandindex iconOther ioctl Commands
I_GETCLTIME ioctl commandindex iconOther ioctl Commands
I_GRDOPT ioctl commandindex iconOther ioctl Commands
I_GWROPT ioctl commandindex iconOther ioctl Commands
I_LINK ioctl commandindex iconOther ioctl Commands
I_LIST ioctl
exampleindex iconI_LIST ioctl2Example
I_LOOK ioctl commandindex iconOther ioctl Commands
I_NREAD ioctl commandindex iconOther ioctl Commands
I_PEEK ioctl commandindex iconOther ioctl Commands
I_PLINK ioctl commandindex iconOther ioctl Commands
I_PUNLINK ioctl commandindex iconOther ioctl Commands
I_RECVFD ioctl commandindex iconOther ioctl Commands
I_SENDFD ioctl commandindex iconOther ioctl Commands
I_SETCLTIME ioctl commandindex iconOther ioctl Commands
I_SETSIG event
S_BANDURGindex iconAsynchronous Input and Output
S_ERRORindex iconAsynchronous Input and Output
S_HANGUPindex iconAsynchronous Input and Output
S_HIPRIindex iconAsynchronous Input and Output
S_INPUTindex iconAsynchronous Input and Output
S_MSGindex iconAsynchronous Input and Output
S_OUTPUTindex iconAsynchronous Input and Output
S_RDBANDindex iconAsynchronous Input and Output
S_RDNORMindex iconAsynchronous Input and Output
S_WRBANDindex iconAsynchronous Input and Output
S_WRNORMindex iconAsynchronous Input and Output
I_SRDOPT ioctl commandindex iconOther ioctl Commands
I_SWROPT ioctl commandindex iconOther ioctl Commands
I_UNLINK ioctl commandindex iconOther ioctl Commands
infinite loop
service procedureindex iconMessage Ordering with One Priority Band
initialization entry point
STREAMS driver
index iconSTREAMS Initialization Entry Points
index iconSTREAMS Driver Entry Points
initialization entry points
exampleindex iconSimple Line Printer Driver
initialization routines for the loop-around driver
exampleindex iconDeclarations for the Loop-Around Driver
input/output polling
index iconAsynchronous Input and Output
index iconInput and Output Polling
insq kernel utilityindex iconKernel Utility Interface Summary
inter_rcv
exampleindex iconReceiving Data
inter_snd, send data to service provider
exampleindex iconSending Data to the Service Provider
interrupt handler
STREAMS driverindex iconSTREAMS Interrupt Handlers
iocblk structureindex iconSTREAMS ioctl Issues
exampleindex iconGeneral ioctl Processing
with M_IOCTLindex iconM_IOCTL Message
ioctlindex iconI_STR ioctl2 Driver
_RECVFDindex iconM_PASSFP Message
EUC_WSETindex iconEUC Handling in ldterm
general processing
index iconioctl Processing
index iconioctl Processing
handled by ptemindex iconPseudo-TTY Emulation Module: ptem
hardware emulation moduleindex iconHardware Emulation Module
I_ANCHOR
index iconUsing Anchors
index iconSTREAMS Anchors
index iconAdding and Removing Modules
I_ATMARKindex iconControlling Data Flow and Priorities
I_CANPUTindex iconControlling Data Flow and Priorities
I_CKBANDindex iconControlling Data Flow and Priorities
I_FLUSHindex iconFlush Handling
I_FLUSHBAND
index iconFlush Handling
index iconControlling Data Flow and Priorities
I_GETBANDindex iconControlling Data Flow and Priorities
I_GWROPTindex iconZero-Length Writes
I_LINK
index iconM_IOCTL Message
index iconbufcall Callback Routine
index iconStreams Before Link
I_LISTindex iconI_LIST ioctl
I_PLINK
index iconM_IOCTL Message
index iconPersistent Links
index iconbufcall Callback Routine
I_POP
index iconModule Overview
index iconAdding and Removing Modules
index iconStream in More Detail
I_PUNLINK
index iconM_IOCTL Message
index iconPersistent Links
index iconbufcall Callback Routine
I_PUSH
index iconModule Overview
index iconAdding and Removing Modules
index iconStream in More Detail
I_RECVFDindex iconNamed Streams
I_SENDFD
index iconM_PASSFP Message
index iconNamed Streams
I_SETSIGindex iconInput and Output Polling
I_SETSIG eventsindex iconAsynchronous Input and Output
I_SRDOPTindex iconRead Options
I_STRindex iconM_IOCTL Message
I_STR processingindex iconI_STR ioctl Processing
I_SWROPTindex iconZero-Length Writes
I_UNLINK
index iconM_IOCTL Message
index iconbufcall Callback Routine
index iconDismantling a Multiplexer
ISPTMindex iconPseudo-TTY Drivers: ptm and pts
SAP_ALLindex iconApplication Interface
SAP_CLEARindex iconApplication Interface
SAP_ONEindex iconApplication Interface
SAP_RANGEindex iconApplication Interface
SIOCSPGRPindex iconM_SIG Message
supported by ldtermindex iconWrite-Side Processing
supported by master driverindex iconPseudo-TTY Drivers: ptm and pts
TIOCREMOTEindex iconRemote Mode
TIOCSIGNALindex iconPseudo-TTY Drivers: ptm and pts
TIOCSPGRPindex iconM_SIG Message
transparent
index iconM_IOCDATA Processing
index iconTransparent ioctl Examples
index iconTransparent ioctl
transparent processingindex iconTransparent ioctl Processing
UNLKPTindex iconPseudo-TTY Drivers: ptm and pts
user contextindex iconSTREAMS ioctl Issues
ioctl commands
summaryindex iconOther ioctl Commands
isastreamindex iconNamed Streams

J

job control
index iconJob Control
index iconJob Control
background process groupindex iconJob Control
controlling processindex iconJob Control
controlling terminalindex iconJob Control
foreground process groupindex iconJob Control
orphaned process groupindex iconJob Control
process groupindex iconJob Control
process group leaderindex iconJob Control
process group lifetimeindex iconJob Control
process IDindex iconJob Control
process lifetimeindex iconJob Control
sessionindex iconJob Control
session IDindex iconJob Control
session leaderindex iconJob Control
session lifetimeindex iconJob Control
SUSP characterindex iconJob Control
terminology
index iconJob Control
index iconJob Control
TOSTOP flagindex iconJob Control

K

kadbindex iconkadb Command
kernel data structures
cb_opsindex iconKernel Data Structures
dev_opsindex iconKernel Data Structures
modldrvindex iconKernel Data Structures
modlinkageindex iconKernel Data Structures
modlstrmodindex iconKernel Data Structures
qinitindex iconKernel Data Structures
streamtabindex iconKernel Data Structures
kernel utilities
list ofindex iconKernel Utility Interface Summary
putctlindex iconKernel Utility Interface Summary

L

ldterm
index iconModule open and close Routines
index iconLine-Discipline Module
index iconLine-Discipline Module
M_SETOPTSindex iconModule open and close Routines
read-side messagesindex iconRead-Side Processing
write sideindex iconWrite-Side Processing
LIFO
module add/removeindex iconPushing the Character Conversion Module
line discipline module
closeindex iconModule open and close Routines
descriptionindex iconLine-Discipline Module
in job controlindex iconJob Control
in pseudo-tty subsystemindex iconLine-Discipline Module
ioctlindex iconWrite-Side Processing
line discipline module for flush handling
exampleindex iconLine Discipline Module for Flush Handling
line printer driver
exampleindex iconSimple Line Printer Driver
header file declarationsindex iconPrinter Driver Example
linkb kernel utilityindex iconKernel Utility Interface Summary
linking messagesindex iconSimple Message Referencing the Data Block
list a stream's drivers and modules
exampleindex iconI_LIST ioctl2Example
load kernel module
driver entry pointindex iconSTREAMS Driver Entry Points
loop-around driver flow control
exampleindex iconUse of ioctl to Copy Data From User Space to Kernel Space

M

M_BREAKindex iconM_BREAK Message
M_COPYINindex iconM_COPYIN Message
M_COPYOUTindex iconM_COPYOUT Message
transparent ioctl exampleindex iconBidirectional Data Transfer Example
with M_IOCTLindex iconM_IOCTL Message
M_COPYOUT using transparent ioctl
exampleindex iconM_COPYOUT Example
M_CTLindex iconM_CTL Message
M_STOPindex iconSO_MREADOFF and M_STOP Messages
SO_MREADOFFindex iconSO_MREADOFF and M_STOP Messages
with line discipline moduleindex iconLine-Discipline Module
M_DATAindex iconM_DATA Message
M_DELAYindex iconM_DELAY Message
M_ERRORindex iconM_ERROR Message
M_FLUSHindex iconM_FLUSH Message
flagsindex iconM_FLUSH Message
flush read and write queuesindex iconFlush Handling
flush read side of streamindex iconFlush Handling
flush write side of streamindex iconFlush Handling
FLUSHRindex iconFlush Handling
FLUSHRWindex iconFlush Handling
FLUSHWindex iconFlush Handling
in module exampleindex iconFlushing a Queue
packet modeindex iconPacket Mode
M_FLUSH message handling
descriptionindex iconM_FLUSH Message Handling
M_FLUSHEXEMPTindex iconFlush Exemptions
M_HANGUPindex iconM_HANGUP Message
M_IOCACKindex iconM_IOCACK Message
with M_COPYOUTindex iconM_COPYOUT Message
with M_IOCTLindex iconM_IOCTL Message
M_IOCDATAindex iconM_IOCDATA Message
M_IOCDATA processing
example
index iconBidirectional Data Transfer
index iconM_COPYIN: Copy the address Structure
M_IOCNAKindex iconM_IOCNAK Message
with M_COPYOUTindex iconM_COPYOUT Message
with M_IOCTLindex iconM_IOCTL Message
M_IOCTL
index iconM_IOCTL Message
index iconM_IOCTL Message
transparentindex iconM_IOCTL Message
with M_COPYOUTindex iconM_COPYOUT Message
M_PASSFPindex iconM_PASSFP Message
M_PCPROTOindex iconM_PCPROTO Message
M_PCRSEindex iconM_PCRSE Message
M_PCSIGindex iconM_PCSIG Message
M_PROTO
index iconM_PROTO Message
index iconM_PROTO Message
M_READindex iconM_READ Message
M_RSEindex iconM_RSE Message
M_SETOPTSindex iconM_SETOPTS Message
SO_FLAGindex iconM_SETOPTS Message
SO_ISTTYindex iconM_SIG Message
so_readopt optionsindex iconRead Options
M_SIGindex iconM_SIG Message
in signalingindex iconsignal Message
M_STOPindex iconSO_MREADOFF and M_STOP Messages
M_STOPIindex iconSO_MREADOFFI and M_STOPI Messages
M_UNHANGUPindex iconM_UNHANGUP Message
managing extended buffers in multithreaded environment
exampleindex iconesballoc Example
manipulating modulesindex iconManipulating Modules
master driver
in pseudo-tty subsystemindex iconSTREAMS-Based Pseudo-Terminal Subsystem
openindex iconPseudo-TTY Drivers: ptm and pts
mdb
index iconadb Command
index iconmdb Command
memory-mapped I/Oindex iconExtended STREAMS Buffers
messageindex iconStream in More Detail
accessing queue informationindex iconUsing Queue Information
allocationindex iconMessage Allocation and Freeing
container for data and control informationindex iconOverview of Streams in Kernel Space
create priority band messageindex iconMessage Direction
data alignmentindex iconData Alignment
definitions of priority band fieldsindex iconUsing Queue Information
flow controlindex iconControlling Data Flow and Priorities
freeingindex iconMessage Allocation and Freeing
getmsgindex iconMessage Direction
getpmsgindex iconMessage Direction
high-priority
index iconFlow Control Mechanism
index iconMessage Ordering with One Priority Band
linkingindex iconMessage Linkage
M_BREAK
index iconM_BREAK Message
index iconDescription of Communication Flow for Ordinary Messages
M_COPYIN
index iconM_COPYIN Message
index iconDescription of Communication Flow for High-Priority Messages
M_COPYOUT
index iconM_COPYOUT Message
index iconDescription of Communication Flow for High-Priority Messages
M_CTL
index iconSO_MREADOFF and M_STOP Messages
index iconM_CTL Message
index iconDescription of Communication Flow for Ordinary Messages
M_DATA
index iconM_DATA Message
index iconDescription of Communication Flow for Ordinary Messages
M_DELAY
index iconM_DELAY Message
index iconDescription of Communication Flow for Ordinary Messages
M_ERROR
index iconM_ERROR Message
index iconDescription of Communication Flow for High-Priority Messages
M_FLUSH index iconDescription of Communication Flow for High-Priority Messages
M_FLUSHindex iconM_FLUSH Message
M_HANGUP
index iconM_HANGUP Message
index iconDescription of Communication Flow for High-Priority Messages
M_IOCACK
index iconM_IOCACK Message
index iconDescription of Communication Flow for High-Priority Messages
M_IOCDATA
index iconM_IOCDATA Message
index iconDescription of Communication Flow for High-Priority Messages
M_IOCNAK
index iconM_IOCNAK Message
index iconDescription of Communication Flow for High-Priority Messages
M_IOCTL
index iconM_IOCTL Message
index iconDescription of Communication Flow for Ordinary Messages
M_PASSFP
index iconM_PASSFP Message
index iconDescription of Communication Flow for Ordinary Messages
M_PCPROTO
index iconM_PCPROTO Message
index iconDescription of Communication Flow for High-Priority Messages
M_PCRSEindex iconM_PCRSE Message
M_PCSIG
index iconM_PCSIG Message
index iconDescription of Communication Flow for High-Priority Messages
M_PROTO
index iconM_PROTO Message
index iconDescription of Communication Flow for Ordinary Messages
M_READ
index iconM_READ Message
index iconDescription of Communication Flow for High-Priority Messages
M_RSEindex iconM_RSE Message
M_SETOPTS
index iconM_SETOPTS Message
index iconDescription of Communication Flow for Ordinary Messages
M_SIGindex iconDescription of Communication Flow for Ordinary Messages
M_STARTindex iconDescription of Communication Flow for High-Priority Messages
M_STARTIindex iconDescription of Communication Flow for High-Priority Messages
M_STOPindex iconDescription of Communication Flow for High-Priority Messages
M_STOPI
index iconSO_MREADOFFI and M_STOPI Messages
index iconDescription of Communication Flow for High-Priority Messages
M_UNHANGUP
index iconM_UNHANGUP Message
index iconDescription of Communication Flow for High-Priority Messages
msgb structure
index iconSimple Message Referencing the Data Block
index iconMessage Structure
priorityindex iconMessage Queues and Message Priority
putmsgindex iconMessage Direction
putpmsgindex iconMessage Direction
qband structureindex iconqband Structure
qinit structureindex iconEntry Points
queue
index iconMessage Queues
index iconMessage Ordering in a Queue
queue priorityindex iconMessage Ordering in a Queue
queue structureindex iconqueue Structure
queues
index iconQueued Messages
index iconMessage Queueing and Priorities
read optionsindex iconRead Options
recovering from allocation failureindex iconRecovering From No Buffers
recovering from no buffersindex iconRecovering From No Buffers
retrieve priority band messageindex iconMessage Direction
service interfaceindex iconDriver and Module Service Interfaces
shared dataindex iconShared Data
SO_MREADOFIindex iconSO_MREADOFFI and M_STOPI Messages
translation between user application and kernelindex iconOverview of Streams in Kernel Space
typesindex iconMessage Types
using qband informationindex iconUsing qband Information
write optionindex iconWrite Options
message (STREAMS)
directionindex iconSending and Receiving Messages
flowindex iconMessage Processing Procedures
handled by ptemindex iconPseudo-TTY Emulation Module: ptem
handled by pcktindex iconPacket Mode
high-priority
index iconHigh-Priority Messages
index iconDescription of Communication Flow for High-Priority Messages
ldterm read sideindex iconRead-Side Processing
ldterm write sideindex iconWrite-Side Processing
linking into queuesindex iconSimple Message Referencing the Data Block
M_DATAindex iconSending and Receiving Messages
M_PCPROTOindex iconSending and Receiving Messages
M_PROTOindex iconSending and Receiving Messages
ordinary
index iconM_SIG Message
index iconOrdinary Messages
index iconDescription of Communication Flow for Ordinary Messages
processingindex iconMessage Processing Procedures
sending/receivingindex iconSending and Receiving Messages
structuresindex iconMessage Structure
typesindex iconMessage Types
message blockindex iconmessage block
message block structure
exampleindex iconSimple Message Referencing the Data Block
message orderingindex iconShared Data Block
message prioritiesindex iconMessage Ordering in a Queue
message queueindex iconmessage queue
priorityindex iconControlling Data Flow and Priorities
priority levelsindex iconMessage Queueing Priority
message types
rules for changingindex iconMessage Type Change Rules
messages
kernelindex iconMessage Types
messages sent by driver to stream head
M_ERRORindex iconOpening the Loop-Around Driver
M_HANGUPindex iconOpening the Loop-Around Driver
M_SIG/M_PCSIGindex iconOpening the Loop-Around Driver
modldrv structure
driver operations and linkage informationindex iconmodldrv Structure
modlinkage structure
module link informationindex iconmodlinkage Structure
revision level of loadable modulesindex iconmodlinkage Structure
modlstrmod structure
module operations and linkage informationindex iconmodlstrmod Structure
moduleindex iconmodule
difference with driverindex iconPushing a Module
drainingindex iconClosing the Stream
ioctl controlindex iconModule and Driver Control
line disciplineindex iconline discipline
manipulationindex iconManipulating Modules
pushableindex iconpushable module
reusabilityindex iconModule Reusability
module entry point structure
exampleindex iconEntry Points
module information structure
exampleindex iconEntry Points
module put
exampleindex iconExample of a Module put Procedure
module service procedure
exampleindex iconModule service Procedure
module unloading
outstanding esballoc callbackindex iconUnloading a Module that Uses esballoc
module_info structure
exampleindex iconEntry Points
monitor streams eventsindex iconInput and Output Polling
msgb structureindex iconSimple Message Referencing the Data Block
msgdsize kernel utilityindex iconKernel Utility Interface Summary
MT SAFE
cb_flag for driverindex iconMT SAFE Driver
driverindex iconMT SAFE Driver
f_flag for moduleindex iconMT SAFE Module
moduleindex iconMT SAFE Module
multiple process write
same pipeindex iconAtomic Writes
multiplexerindex iconmultiplexer
building
index iconStreams Before Link
index iconBuilding a Multiplexer
controlling streamindex iconStreams Before Link
data routingindex iconRouting Data Through a Multiplexer
declarationsindex iconMultiplexing Driver Example
definitionindex iconConfiguring Multiplexed Streams
design guidelinesindex iconDesign Guidelines
dismantlingindex iconDismantling a Multiplexer
driver
index iconLower Read put Procedure
index iconMultiplexing Driver Example
example
index iconMultiplexer Construction Example
index iconMultiplexer Construction Example
lowerindex iconSTREAMS Multiplexers
lower connection
index iconConnecting Lower Streams
index iconConnecting Lower Streams
lower disconnectionindex iconDisconnecting Lower Streams
lower read put procedure
index iconLower Read put Procedure
index iconLower Read put Procedure
lower stream
index iconlower stream
index iconConfiguring Multiplexed Streams
lower write service procedureindex iconLower Write service Procedure
lower write service procedureindex iconLower Write service Procedure
minor device connectindex iconConnecting And Disconnecting Lower Streams
minor device disconnectindex iconDisconnecting Lower Streams
pseudo-device driverindex iconConfiguring Multiplexed Streams
upperindex iconSTREAMS Multiplexers
upper stream
index iconupper stream
index iconConfiguring Multiplexed Streams
upper write service procedureindex iconUpper Write service Procedure Sample
upper-queue write put procedureindex iconUpper Write put Procedure Sample
multiplexer ID
in multiplexer buildingindex iconStreams Before Link
in multiplexer dismantlingindex iconDismantling a Multiplexer
multiplexing STREAMSindex iconConfiguring Multiplexed Streams
multithread framework
MT SAFEindex iconMT SAFE Modules and Drivers
perimetersindex iconMT SAFE Modules and Drivers
multithreaded kernelindex iconMultithreading the Kernel
porting toindex iconPreparing to Port
multithreaded module
explicit locksindex iconMT SAFE Modules Using Explicit Locks
explicit locks, constraintsindex iconConstraints When Using Locks
preserving message orderingindex iconPreserving Message Ordering
multithreaded perimeter
choosing a typeindex iconChoosing a Perimeter Type
defining a typeindex iconDefining Perimeter Types
description
index iconMT STREAMS Perimeters
index iconMT STREAMS Framework
exclusive/shared access flagsindex iconChoosing a Perimeter Type
flagsindex iconChoosing a Perimeter Type
fully-hotindex iconHot Perimeters
innerindex iconInner Perimeters
inner perimeter flagsindex iconChoosing a Perimeter Type
outerindex iconOuter Perimeters
outer perimeter flagsindex iconChoosing a Perimeter Type
PERMODindex iconPERMOD Perimeter
routines used inside a perimeterindex iconRoutines Used Inside a Perimeter
multithreaded STREAMS
concepts and terminologyindex iconMultithreaded (MT) STREAMS Overview
multithreaded STREAMS module with outer perimeter
exampleindex iconMultithread Module with Outer Perimeter
multithreaded STREAMS pseudo-driver using an inner perimeter
exampleindex iconMultithreaded, Loadable, STREAMS Pseudo-Driver
muxuwput
upper-queue write put procedureindex iconUpper Write put Procedure Sample

N

named pipe (see FIFO)index iconOverview of Pipes and FIFOs
named stream
descriptionindex iconNamed Streams
file descriptor passingindex iconNamed Streams
noenable kernel utilityindex iconKernel Utility Interface Summary
nontransparent ioctl using I_STR
exampleindex iconTransparent ioctl Messages
NSTRPUSH
kernel parameterindex iconAdding and Removing Modules
tunable parameterindex iconTunable Parameters

O

O_NDELAY
with M_SETOPTSindex iconM_SETOPTS Message
O_NONBLOCK
with M_SETOPTSindex iconM_SETOPTS Message
open a module
exampleindex iconA Simple open Routine
open a streamindex iconOpening a STREAMS Device File
open and request bind to the driver device
exampleindex icon inter_open Routine
openindex iconPseudo-TTY Streams
device fileindex iconOpening a STREAMS Device File
opening a system clone device
exampleindex iconOpening a System Clone Device
opening the log driver
exampleindex iconOpening a System Clone Device
opening the loop-around driverindex iconDeclarations for the Loop-Around Driver
ordinary message
M_BREAKindex iconM_BREAK Message
M_CTLindex iconM_CTL Message
M_DATAindex iconM_DATA Message
M_DELAYindex iconM_DELAY Message
M_IOCTLindex iconM_IOCTL Message
M_PASSFPindex iconM_PASSFP Message
M_PROTOindex iconM_PROTO Message
M_RSEindex iconM_RSE Message
M_SETOPTSindex iconM_SETOPTS Message
OTHERQ kernel utilityindex iconKernel Utility Interface Summary

P

packet modeindex iconpacket mode
descriptionindex iconPacket Mode
messagesindex iconPacket Mode
panicindex iconShared Data Block
pckt
index iconPacket Mode
index iconPacket Mode
perimeter
asynchronous accessindex iconMT STREAMS Perimeters
asynchronous callback functionsindex iconAsynchronous Callback Functions
choosing a typeindex iconChoosing a Perimeter Type
defining a typeindex iconDefining Perimeter Types
description
index iconMT STREAMS Perimeters
index iconMT STREAMS Framework
exclusive/shared access flagsindex iconChoosing a Perimeter Type
flagsindex iconChoosing a Perimeter Type
fully-hotindex iconHot Perimeters
innerindex iconInner Perimeters
inner perimeter flagsindex iconChoosing a Perimeter Type
outerindex iconOuter Perimeters
outer perimeter flagsindex iconChoosing a Perimeter Type
PERMODindex iconPERMOD Perimeter
routinesindex iconRoutines Used Inside a Perimeter
synchronous accessindex iconMT STREAMS Perimeters
persistent link
index iconpersistent link
index iconPersistent Links
createindex iconPersistent Links
dismantleindex iconPersistent Links
pipe or FIFO
read fromindex iconReading From a Pipe or FIFO
write toindex iconWriting to a Pipe or FIFO
PIPE_BUFindex iconAtomic Writes
pipemod
moduleindex iconFlushing Pipes and FIFOs
pipemod STREAMS moduleindex iconFlushing Pipes and FIFOs
pipes
STREAMS (see STREAMS-based pipe)index iconOverview of Pipes and FIFOs
poll event
POLLINindex iconSynchronous Input and Output
POLLOUTindex iconSynchronous Input and Output
POLLRDBANDindex iconSynchronous Input and Output
POLLRDNORMindex iconSynchronous Input and Output
POLLWRBANDindex iconSynchronous Input and Output
POLLWRNORMindex iconSynchronous Input and Output
pollindex iconPolling an Event
pollfd structureindex iconPolling an Event
polling
asynchronous input/outputindex iconAsynchronous Input and Output
error eventsindex iconPolling an Event
eventindex iconSynchronous Input and Output
example
index iconPolling an Event
index iconSynchronous Input and Output
porting to Oracle Solaris 11.4
considerationsindex iconPorting to the Oracle Solaris 11.4 Release
priority band data
ioctlindex iconControlling Data Flow and Priorities
routinesindex iconData Structure Linkage
priority band data flush handling
exampleindex iconPriority Band Data Flush Handling
private dataindex iconStream in More Detail
private locks across calls
moduleindex iconAsynchronous Callback Functions
process incoming data
exampleindex iconPolling an Event
process write message blocks
exampleindex iconUse of allocb
processing an ioctl
exampleindex iconProcessing ioctl2
processing an ioctl message
exampleindex iconI_STR ioctl2 Driver
processing input
exampleindex iconProcess Input
protocol
migrationindex iconProtocol Migration
portabilityindex iconProtocol Portability
substitutionindex iconProtocol Substitution
protocol daemon
exampleindex iconProtocol Daemon
protocol messages
readindex iconRead Options
pseudo-device
driverindex iconpseudo-device driver
pseudo-terminal
subsystemindex iconpseudo-terminal subsystem
pseudo-terminal subsystem
remote modeindex iconremote mode
pseudo-tty emulation module
index iconopen and close Routines
index iconPseudo-TTY Emulation Module: ptem
pseudo-tty subsystemindex iconSTREAMS-Based Pseudo-Terminal Subsystem
description
index iconptsname Routine
index iconSTREAMS-Based Pseudo-Terminal Subsystem
drivers
index iconPseudo-TTY Drivers: ptm and pts
index iconMaster Driver and Slave Driver Characteristics
ldtermindex iconLine-Discipline Module
messagesindex iconPseudo-TTY Emulation Module: ptem
packet modeindex iconPacket Mode
remote modeindex iconRemote Mode
ptem
index iconopen and close Routines
index iconPseudo-TTY Emulation Module: ptem
ptem structure
exampleindex iconptem Data Structure
ptm (see master driver)index iconSTREAMS-Based Pseudo-Terminal Subsystem
pts
exampleindex iconpts Example
pts (see slave driver)index iconSTREAMS-Based Pseudo-Terminal Subsystem
ptsname
index iconptsname Routine
index iconptsname Routine
with pseudo-tty driverindex iconPseudo-TTY Drivers: ptm and pts
pullupmsg kernel utilityindex iconKernel Utility Interface Summary
push/pop modules on/off the streamindex iconI_LIST ioctl
pushing a module
exampleindex iconModule Header File Definition
pushing modules on a STREAMS-based FIFOindex iconCreating and Opening Pipes and FIFOs
pushing modules on a STREAMS-based pipeindex iconPushing Modules on a STREAMS-Based FIFO
put procedure
index iconQueue service Procedure
index iconput Procedure
index iconStructure of a Message Queue
putbq kernel utilityindex iconKernel Utility Interface Summary
putctl1 kernel utilityindex iconKernel Utility Interface Summary
putctlindex iconKernel Utility Interface Summary
putnextindex iconFlushing Pipes and FIFOs
putnext kernel utilityindex iconKernel Utility Interface Summary
putq kernel utilityindex iconKernel Utility Interface Summary

Q

q_next fieldindex iconUse of the q_next Field
qband structure
exampleindex iconqband Structure
qbufcallindex iconqtimeout/qunbufcall Routines
qbufcall kernel utilityindex iconKernel Utility Interface Summary
qinit structure
exampleindex iconEntry Points
pointers to STREAMS entry pointsindex iconqinit Structure
qprocsoff kernel utilityindex iconKernel Utility Interface Summary
qprocson kernel utilityindex iconKernel Utility Interface Summary
qreply kernel utilityindex iconKernel Utility Interface Summary
qsize kernel utilityindex iconKernel Utility Interface Summary
qtimeout
index iconqtimeout/qunbufcall Routines
index iconqtimeout/qunbufcall Routines
qtimeout kernel utilityindex iconKernel Utility Interface Summary
queue
index iconqueue
index iconOverview of Streams in Kernel Space
index iconStructure of a Message Queue
putindex iconput procedure
read sideindex iconread side
readindex iconread queue
scheduleindex iconschedule
using qband informationindex iconUsing qband Information
water markindex iconwater mark
write sideindex iconwrite side
writeindex iconwrite queue
queue allocationindex iconQueue Allocation
queue flags
QENABindex iconqueue Structure
QFULLindex iconqueue Structure
QNOENBindex iconqueue Structure
QREADRindex iconqueue Structure
QUSEindex iconqueue Structure
QWANTRindex iconqueue Structure
QWANTWindex iconqueue Structure
queue processing entry point
STREAMS driver
index iconSTREAMS Queue Processing Entry Points
index iconSTREAMS Driver Entry Points
queue processing entry points
exampleindex iconSimple Line Printer Driver
queue processing procedure
putindex iconStream in More Detail
serviceindex iconStream in More Detail
queue structure
exampleindex iconqueue Structure
qunbufcall
index iconqtimeout/qunbufcall Routines
index iconqtimeout/qunbufcall Routines
qunbufcall kernel utilityindex iconKernel Utility Interface Summary
quntimeoutindex iconqtimeout/qunbufcall Routines
quntimeout kernel utilityindex iconKernel Utility Interface Summary
qwaitindex iconqwait Function
qwait kernel utilityindex iconKernel Utility Interface Summary
qwait_sig kernel utilityindex iconKernel Utility Interface Summary
qwriterindex iconqwriter Function
qwriter kernel utilityindex iconKernel Utility Interface Summary

R

RD kernel utilityindex iconKernel Utility Interface Summary
read side
ldterm processingindex iconRead-Side Processing
read-side
put procedureindex iconModule Procedures
read-side line discipline module
exampleindex iconRead-side Line Discipline Module
read-side put procedure
exampleindex iconRead-side put Procedure
receive data from service provider
example
index iconReceiving Data
index iconReceiving Data
releasing callback requestsindex iconReleasing Callback Requests
retrieve priority band messageindex iconMessage Direction
revents
bitmaskindex iconPolling an Event
rmvb kernel utilityindex iconKernel Utility Interface Summary
rmvq kernel utilityindex iconKernel Utility Interface Summary
routines used inside a perimeterindex iconRoutines Used Inside a Perimeter

S

sadindex iconSTREAMS Administrative Driver
SAD (see STREAMS Administrative Driver)index iconApplication Interface
SAD (see STREAMS Administrative Driver)index iconSTREAMS Administrative Driver
send data to service provider
exampleindex iconUsing the inter_snd Routine
service
interfaceindex iconservice interface
procedureindex iconservice procedure
providerindex iconservice provider
userindex iconservice user
service interfaceindex iconService Interface
definitionindex iconDriver and Module Service Interfaces
rulesindex iconModule Service Interface Example
service interface library
exampleindex iconService Interface Library Example
primitivesindex iconService Interface Library Header File
service interface library header file
exampleindex iconService Interface Library Example
service interface protoput procedure
exampleindex iconService Interface Procedure
service primitiveindex iconService Interface
BIND_REQindex iconService Interface Library Header File
ERROR_ACKindex iconService Interface Library Header File
in service procedureindex iconService Interface Library Header File
OK_ACKindex iconService Interface Library Header File
UNITDATA_INDindex iconService Interface Library Header File
UNITDATA_REQindex iconService Interface Library Header File
service primitive declarations
exampleindex iconService Primitive Declarations
service procedure
index iconFlow Control Mechanism
index iconQueue service Procedure
back-enableindex iconback-enable
blockedindex iconblocked
service providerindex iconService Interface
accessingindex iconAccessing the Service Provider
closingindex iconClosing the Service Provider
receiving dataindex iconReceiving Data
sending dataindex iconSending Data to the Service Provider
service interfaceindex iconService Interfaces
service procedureindex iconStructure of a Message Queue
signalindex iconsignal Message
extendedindex iconExtended Signals
in job control managementindex iconJob Control
in STREAMS
index iconsignal Message
index iconsignal Message
M_SIGindex iconsignal Message
SIGCONTindex iconJob Control
SIGHUPindex iconHangup Signals
SIGPOLLindex iconM_SIG Message
SIGSTOPindex iconJob Control
SIGTSTPindex iconJob Control
SIGTTINindex iconJob Control
SIGTTOUindex iconJob Control
SIGPOLL
signalindex iconM_SIG Message
SIGTTINindex iconAccessing the Controlling Terminal
SIGTTOUindex iconAccessing the Controlling Terminal
simple stream
exampleindex iconSimple Stream
slave driverindex iconslave driver
in pseudo-tty subsystemindex iconSTREAMS-Based Pseudo-Terminal Subsystem
openindex iconPseudo-TTY Drivers: ptm and pts
slave driver open
exampleindex iconPseudo-TTY Drivers: ptm and pts
SO_FLAG
in M_SETOPTSindex iconM_SETOPTS Message
SO_MREADOFFindex iconSO_MREADOFF and M_STOP Messages
SO_MREADOFIindex iconSO_MREADOFFI and M_STOPI Messages
standard pipeindex iconstandard pipe
str_mlist structure
exampleindex iconI_LIST ioctl
straceindex iconstrace Command
strchgindex iconI_LIST ioctl
strconf commandindex iconI_LIST ioctl
STRCTLSZ
tunable parameterindex iconTunable Parameters
stream
controlling terminalindex iconAllocation and Deallocation of Streams
general definitionindex iconWhat Is STREAMS?
hung-upindex iconHungup Streams
stream autopush structure
exampleindex iconApplication Interface
stream construction
add/remove modulesindex iconAdding and Removing Modules
close a streamindex iconClosing the Stream
example
index iconProcess Input
index iconStream Construction Example
open a streamindex iconOpening a STREAMS Device File
stream head
copy data between the user space and kernel spaceindex iconStream Head
intercepting I_STRindex iconstrioctl Structure
kernel space interactionindex iconStream Head
stream pseudo terminal module
exampleindex iconStream Pseudo Terminal Module
streamio ioctl commands
streams controlindex iconOther ioctl Commands
STREAMSindex iconSTREAMS
administration toolsindex iconAdministration Tools
application interfaceindex iconHow STREAMS Works – Application Interface
asynchronous callback functionsindex iconAsynchronous Callback Functions
closing a deviceindex iconClosing a Stream
configurationindex iconApplication Interface
considerations when porting to Oracle Solaris 11.4index iconPorting to the Oracle Solaris 11.4 Release
data pathindex iconStream as a Data Path
data transferindex iconOpening a Stream
definitionindex iconWhat Is STREAMS?
definition of functionalityindex iconWhat Is STREAMS?
determining when to useindex iconWhen to Use STREAMS
device driverindex iconSTREAMS Device Driver
driverindex iconStructure of a STREAMS Device Driver
flow control
index iconControlling Data Flow
index iconMessage Transfer Flow Control
frequently asked IP interface questionsindex iconSTREAMS FAQ
hardened
index iconMultithread Module with Outer Perimeter
index iconMultithreaded, Loadable, STREAMS Pseudo-Driver
index iconSimple Line Printer Driver
hardening advice
index iconM_COPYOUT Example
index iconioctl Processing
head
index iconCreating the Stream Head
index iconStream Head
interfaceindex iconSTREAMS Application-Level Components
kernel-levelindex iconHow STREAMS Works at the Kernel Level
message componentsindex iconMessage Components
message data structuresindex iconMessage Components
message queue priorityindex iconMessage Queueing Priority
message queuesindex iconMessage Queues
message typesindex iconMessage Components
messagesindex iconSTREAMS Data
module
index iconMessage Processing
index iconSTREAMS Module
module multiplexingindex iconConfiguring Multiplexed Streams
multiplexing
index iconSTREAMS Multiplexers
index iconSTREAMS Multiplexing
multithread framework integrityindex iconSTREAMS Framework Integrity
opening a deviceindex iconOpening a Stream
pollingindex iconSTREAMS Polling
programming modelindex iconWhat Is STREAMS?
queue overviewindex iconStructure of a Message Queue
tunable parametersindex iconTunable Parameters
STREAMS administration modulesindex iconApplication Interface
autopush facilityindex iconApplication Interface
STREAMS Administrative Driver
index iconApplication Interface
index iconApplication Interface
STREAMS anchors client
exampleindex iconSTREAMS Anchors fd_server.c
STREAMS anchors server
exampleindex iconSTREAMS Anchors fd_server.c
streams control
streamio ioctl commandsindex iconOther ioctl Commands
STREAMS debuggingindex iconSTREAMS Error and Trace Logging
error and trace logging
index iconSTREAMS Error and Trace Logging
index iconSTREAMS Error and Trace Logging
index iconAdministration Tool Description
kernel debug printingindex iconKernel Debug Printing
kernel examination toolsindex iconKernel Examination Tools
STREAMS driver
cloningindex iconCloning STREAMS Drivers
configuration entry pointindex iconSTREAMS Configuration Entry Points
design guidelinesindex iconSummarizing STREAMS Device Drivers
entry pointsindex iconSTREAMS Driver Entry Points
Ethernet driversindex iconSTREAMS FAQ
flush handlingindex iconDriver Flush Handling
initialization entry pointindex iconSTREAMS Initialization Entry Points
interrupt handlerindex iconSTREAMS Interrupt Handlers
ioctl
index iconioctl Processing
index iconModule and Driver ioctl Calls
loop-aroundindex iconLoop-Around Driver
porting to multithreaded kernelindex iconPreparing to Port
pseudo-tty
index iconPseudo-TTY Drivers: ptm and pts
index iconMaster Driver and Slave Driver Characteristics
pseudo-tty subsystem masterindex iconSTREAMS-Based Pseudo-Terminal Subsystem
pseudo-tty subsystem slaveindex iconSTREAMS-Based Pseudo-Terminal Subsystem
queue processing entry pointindex iconSTREAMS Queue Processing Entry Points
table-driven entry pointindex iconSTREAMS Table-Driven Entry Points
STREAMS module
index iconFlushing a Queue
index iconModule Overview
adding an anchorindex iconUsing Anchors
anchor lockindex iconSTREAMS Anchors
autopush facilityindex iconAutopush Facility
autopush facilityindex iconSTREAMS Administrative Driver
connldindex iconUnique Connections
design guidelinesindex iconDesign Guidelines
filterindex iconFilter Module Example
flow control
index iconDesign Guidelines
index iconData Flow Control
ioctlindex iconModule and Driver ioctl Calls
line disciplineindex iconLine-Discipline Module
ptemindex iconPseudo-TTY Emulation Module: ptem
read-side put procedureindex iconModule Procedures
routines
index iconSTREAMS Module Service Procedure
index iconModule Procedures
service interface example
index iconService Interface protoput Procedure
index iconModule Service Interface Example
service procedure exampleindex iconSTREAMS Module Service Procedure
service procedureindex iconWrite-side put Procedure
write-side put procedureindex iconRead-side put Procedure
STREAMS queue
qband structureindex iconqband Structure
using qband informationindex iconUsing qband Information
using queue informationindex iconUsing qband Information
STREAMS-based pipeindex iconSTREAMS-based pipe
atomic writeindex iconAtomic Writes
basic operationsindex iconClosing a Pipe or FIFO
definitionindex iconOverview of Pipes and FIFOs
PIPE_BUFindex iconAtomic Writes
STREAMS-based pseudo-terminal subsystem (see pseudo-tty subsystem)index iconSTREAMS-Based Pseudo-Terminal Subsystem
STREAMS-based terminal subsystem (see tty subsystem)index iconOverview of Terminal Subsystem
streamtab structure
driver entry pointindex iconSTREAMS Driver Entry Points
exampleindex iconModule Structures
pointers to structures for inititializing reading and writng a moduleindex iconstreamtab Structure
strerrindex iconstrerr Daemon
strioctl structureindex iconstrioctl Structure
exampleindex iconI_STR ioctl Processing
ic_cmdindex iconstrioctl Structure
ic_dpindex iconstrioctl Structure
ic_lenindex iconstrioctl Structure
ic_timoutindex iconstrioctl Structure
strlogindex iconstrlog Command
flag parameterindex iconstrlog Command
strlog kernel utilityindex iconKernel Utility Interface Summary
STRMSGSZ
tunable parameterindex iconTunable Parameters
stropts.h
strbufindex iconMessage Direction
strqget
index iconUsing Queue Information
index iconstrqget Command
strqget kernel utilityindex iconKernel Utility Interface Summary
strqset
index iconUsing Queue Information
index iconstrqset Command
strqset kernel utilityindex iconKernel Utility Interface Summary
structure for M_IOCTL unrecognized message
exampleindex iconGeneral ioctl Processing
structure for nontransparent ioctl
exampleindex iconI_STR ioctl Processing
synchronous input/output
in pollingindex iconSynchronous Input and Output
system crashindex iconShared Data Block

T

table-driven entry point
STREAMS driver
index iconSTREAMS Table-Driven Entry Points
index iconSTREAMS Driver Entry Points
termio
default flag valuesindex iconDefault Settings
TCSETAindex iconJob Control
TCSETAFindex iconJob Control
TCSETAWindex iconJob Control
termios
terminal control flagsindex iconLine-Discipline Module
testb kernel utility
index iconKernel Utility Interface Summary
index iconKernel Utility Interface Summary
transferring user buffer into the kernel
exampleindex iconM_COPYIN: Copy the address Structure
transparent ioctlindex iconTransparent ioctl Examples
exampleindex iconTransparent ioctl Messages
M_COPYOUT exampleindex iconBidirectional Data Transfer Example
messagesindex iconTransparent ioctl Messages
processingindex iconTransparent ioctl Processing
transparent ioctl processingindex iconM_IOCDATA Processing
treatment of protocol messages
RPROTDATindex iconRead Options
RPROTDISindex iconRead Options
RPROTMASKindex iconRead Options
RPROTNORMindex iconRead Options
tty subsystem
benefitsindex iconOverview of Terminal Subsystem
description
index iconHardware Emulation Module
index iconOverview of Terminal Subsystem
hardware emulation module
index iconHardware Emulation Module
index iconHardware Emulation Module
ldtermindex iconLine-Discipline Module
setupindex iconSTREAMS-Based Terminal Subsystem
ttymonindex iconSTREAMS-Based Terminal Subsystem
tunable parameters
STREAMSindex iconTunable Parameters

U

unfreezestr kernel utilityindex iconKernel Utility Interface Summary
unique connection (STREAMS)
index iconUnique Connections
index iconUnique Connections
unlinkb kernel utilityindex iconKernel Utility Interface Summary
unlockptindex iconunlockpt Routine
with pseudo-tty driverindex iconPseudo-TTY Drivers: ptm and pts
upstreamindex iconupstream
user process write
0 byte pipeindex iconZero-Length Writes
user's options structure
exampleindex iconM_COPYOUT Structure Example

W

wait for bind request acknowledgement
exampleindex icon inter_open Routine
WR kernel utilityindex iconKernel Utility Interface Summary
write side
ldtermindex iconWrite-Side Processing
write-side
put procedureindex iconRead-side put Procedure
write-side put procedure
exampleindex iconWrite-side put Procedure