JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
STREAMS Programming Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Part I Application Programming Interface

1.  Overview of STREAMS

2.  STREAMS Application-Level Components

3.  STREAMS Application-Level Mechanisms

4.  Application Access to the STREAMS Driver and Module Interfaces

5.  STREAMS Administration

6.  Pipes and Queues

Part II Kernel Interface

7.  STREAMS Framework - Kernel Level

8.  STREAMS Kernel-Level Mechanisms

9.  STREAMS Drivers

10.  STREAMS Modules

11.  Configuring STREAMS Drivers and Modules

12.  Multithreaded STREAMS

13.  STREAMS Multiplex Drivers

Part III Advanced Topics

14.  Debugging STREAMS-based Applications

Part IV Appendixes

A.  Message Types

B.  Kernel Utility Interface Summary

C.  STREAMS-Based Terminal Subsystem

D.  STREAMS FAQ

Glossary

Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

W

S

sad, index iconSTREAMS Administrative Driver
SAD (see STREAMS Administrative Driver)
index iconApplication Interface
index iconSTREAMS Administrative Driver
index iconApplication Interface
SAD_GAP ioctl, index iconApplication Interface
SAD_SAP ioctl
SAP_ALL option, index iconApplication Interface
SAP_CLEAR option, index iconApplication Interface
SAP_ONE option, index iconApplication Interface
SAP_RANGE option, index iconApplication Interface
sap_lastminor device, index iconApplication Interface
sap_major device, index iconApplication Interface
sap_minor device
index iconApplication Interface
index iconApplication Interface
send data to service provider, example, index iconSending Data to the Service Provider
service
interface, index iconGlossary
procedure, index iconGlossary
provider, index iconGlossary
user, index iconGlossary
service interface, index iconService Interfaces
service interface, index iconDriver and Module Service Interfaces
definition, index iconDriver and Module Service Interfaces
rules, index iconModule Service Interface Example
service interface library
example, index iconService Interface Library Example
primitives, index iconService Interface Library Example
service interface library header file, example, index iconService Interface Library Example
service interface protoput procedure, example, index iconModule Service Interface Example
service primitive, index iconDriver and Module Service Interfaces
BIND_REQ, index iconService Interface Library Example
ERROR_ACK, index iconService Interface Library Example
in service procedure, index iconService Interface Library Example
OK_ACK, index iconService Interface Library Example
UNITDATA_IND, index iconService Interface Library Example
UNITDATA_REQ, index iconService Interface Library Example
service primitive declarations, example, index iconModule Service Interface Example
service procedure, index iconStructure of a Message Queue
service procedure
index iconQueue service Procedure
index iconFlow Control in Service Procedures
back-enable, index iconGlossary
blocked, index iconGlossary
service provider, index iconDriver and Module Service Interfaces
accessing, index iconAccessing the Service Provider
closing, index iconClosing the Service Provider
receiving data, index iconReceiving Data
sending data, index iconSending Data to the Service Provider
signal, index iconsignal Message
extended, index iconExtended Signals
in job control management, index iconJob Control
in STREAMS
index iconsignal Message
index iconsignal Message
M_SIG, index iconsignal Message
SIGCONT, index iconJob Control
SIGHUP, index iconHangup Signals
SIGPOLL, index iconM_SIG
SIGSTOP, index iconJob Control
SIGTSTP, index iconJob Control
SIGTTIN, index iconJob Control
SIGTTOU, index iconJob Control
SIGPOLL, signal, index iconM_SIG
SIGTTIN, index iconAccessing the Controlling Terminal
SIGTTOU, index iconAccessing the Controlling Terminal
simple stream, example, index iconSimple Stream Example
slave driver, index iconGlossary
in pseudo-tty subsystem, index iconSTREAMS-based Pseudo-Terminal Subsystem
open, index iconPseudo-TTY Drivers: ptm and pts
slave driver open, example, index iconPseudo-TTY Drivers: ptm and pts
SO_FLAG, in M_SETOPTS, index iconM_SETOPTS
SO_MREADOFF, index iconSO_MREADOFF and M_STOP
SO_MREADOFI, index iconSO_MREADOFFI and M_STOPI
standard pipe, index iconGlossary
str_mlist structure, example, index iconI_LIST ioctl
strace, index iconstrace Command
strapush structure, example, index iconApplication Interface
strchg, index iconI_LIST ioctl
strconf command, index iconI_LIST ioctl
STRCTLSZ, tunable parameter, index iconTunable Parameters
stream
controlling terminal, index iconAllocation and Deallocation of Streams
general definition, index iconWhat Is STREAMS?
hung-up, index iconHungup Streams
stream autopush structure, example, index iconApplication Interface
stream construction
add/remove modules, index iconAdding and Removing Modules
close a stream, index iconClosing the Stream
example
index iconStream Construction Example
index iconModule and Driver Control
open a stream, index iconOpening a STREAMS Device File
stream head
copy data between the user space and kernel space, index iconStream Head
intercepting I_STR, index iconModule and Driver Control
kernel space interaction, index iconStream Head
stream pseudo terminal module, example, index iconpts Example
streamio ioctl commands, streams control, index iconOther ioctl Commands
STREAMS, index iconGlossary
administration tools, index iconAdministration Tools
application interface, index iconHow STREAMS Works—Application Interface
asynchronous callback functions, index iconAsynchronous Callback Functions
closing a device, index iconClosing a Stream
configuration
index iconApplication Interface
index iconApplication Interface
considerations when porting from SunOS 4 to SunOS 5, index iconPorting to the SunOS 5 System
data path, index iconStream as a Data Path
data transfer, index iconOpening a Stream
definition, index iconWhat Is STREAMS?
definition of functionality, index iconWhat Is STREAMS?
determining when to use, index iconWhen to Use STREAMS
device driver, index iconSTREAMS Device Driver
driver, index iconStructure of a STREAMS Device Driver
flow control
index iconMessage Transfer Flow Control
index iconControlling Data Flow
frequently asked IP interface questions, index iconSTREAMS FAQ
hardened
index iconPrinter Driver Example
index iconSample Multithreaded Device Driver Using a Per Module Inner Perimeter
index iconSample Multithreaded Module With Outer Perimeter
hardening advice
index iconioctl Processing
index iconM_COPYOUT Example
head
index iconStream Head
index iconCreating the Stream Head
interface, index iconSTREAMS Application-Level Components
kernel-level, index iconHow STREAMS Works at the Kernel Level
message components, index iconMessage Components
message data structures, index iconMessage Components
message queue priority, index iconMessage Queueing Priority
message queues, index iconMessage Queues
message types, index iconMessage Components
messages, index iconSTREAMS Data
module
index iconSTREAMS Module
index iconMessage Processing
module multiplexing, index iconConfiguring Multiplexed Streams
multiplexing
index iconSTREAMS Multiplexing
index iconSTREAMS Multiplexers
multithread framework, index iconMT STREAMS Framework
multithread framework integrity, index iconSTREAMS Framework Integrity
opening a device, index iconOpening a Stream
polling, index iconSTREAMS Polling
programming model, index iconWhat Is STREAMS?
queue overview, index iconStructure of a Message Queue
tunable parameters, index iconTunable Parameters
STREAMS administration modules, index iconApplication Interface
autopush facility, index iconApplication Interface
STREAMS Administrative Driver
index iconApplication Interface
index iconApplication Interface
index iconApplication Interface
index iconApplication Interface
STREAMS anchors client, example, index iconUsing Anchors
STREAMS anchors server, example, index iconUsing Anchors
STREAMS-based pipe, index iconGlossary
atomic write, index iconWriting to a Pipe or FIFO
basic operations, index iconClosing a Pipe or FIFO
definition, index iconOverview of Pipes and FIFOs
PIPE_BUF, index iconWriting to a Pipe or FIFO
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
streams control, streamio ioctl commands, index iconOther ioctl Commands
STREAMS debugging, index iconSTREAMS Error and Trace Logging
error and trace logging
index iconAdministration Tool Description
index iconSTREAMS Error and Trace Logging
index iconSTREAMS Error and Trace Logging
kernel debug printing, index iconKernel Debug Printing
kernel examination tools, index iconKernel Examination Tools
STREAMS driver
cloning, index iconCloning STREAMS Drivers
configuration, index iconConfiguring STREAMS Drivers and Modules
configuration entry point
index iconSTREAMS Driver Entry Points
index iconSTREAMS Configuration Entry Points
design guidelines, index iconSummarizing STREAMS Device Drivers
driver interrupt, index iconSTREAMS Driver Entry Points
Ethernet drivers, index iconSTREAMS FAQ
flush handling, index iconDriver Flush Handling
initialization entry point, index iconSTREAMS Initialization Entry Points
interrupt handler, index iconSTREAMS Interrupt Handlers
ioctl
index iconModule and Driver ioctl Calls
index iconioctl Processing
loop-around, index iconLoop-Around Driver
porting to multithreaded kernel, index iconPreparing to Port
pseudo-tty
index iconMaster Driver and Slave Driver Characteristics
index iconPseudo-TTY Drivers: ptm and pts
pseudo-tty subsystem master, index iconSTREAMS-based Pseudo-Terminal Subsystem
pseudo-tty subsystem slave, index iconSTREAMS-based Pseudo-Terminal Subsystem
queue processing entry point
index iconSTREAMS Driver Entry Points
index iconSTREAMS Queue Processing Entry Points
table-driven entry point, index iconSTREAMS Table-Driven Entry Points
STREAMS module
index iconModule Overview
index iconFilter Module Example
adding an anchor, index iconUsing Anchors
anchor lock, index iconSTREAMS Anchors
autopush facility
index iconSTREAMS Administrative Driver
index iconApplication Interface
autopush facility, index iconAutopush Facility
connld, index iconUnique Connections
design guidelines, index iconDesign Guidelines
filter, index iconFilter Module Example
flow control
index iconData Flow Control
index iconDesign Guidelines
ioctl, index iconModule and Driver ioctl Calls
line discipline, index iconLine-Discipline Module
ptem, index iconPseudo-TTY Emulation Module: ptem
read-side put procedure, index iconModule Procedures
routines
index iconModule Procedures
index iconModule Procedures
service interface example
index iconModule Service Interface Example
index iconModule Service Interface Example
service procedure, index iconModule Procedures
service procedure example, index iconModule Procedures
write-side put procedure, index iconModule Procedures
STREAMS queue
qband structure, index iconqband Structure
using qband information, index iconUsing qband Information
using queue information, index iconUsing qband Information
streamtab structure
driver entry point, index iconSTREAMS Driver Entry Points
example, index iconSTREAMS Module Configuration
pointers to structures for inititializing reading and writng a module, index iconstreamtab
strerr, index iconstrerr Daemon
strioctl structure, index iconModule and Driver Control
example, index iconI_STR ioctl Processing
ic_cmd, index iconModule and Driver Control
ic_dp, index iconModule and Driver Control
ic_len, index iconModule and Driver Control
ic_timout, index iconModule and Driver Control
strlog
index iconstrlog Command
index iconKernel Utility Interface Summary
flag parameter, index iconstrlog Command
STRMSGSZ, tunable parameter, index iconTunable Parameters
stropts.h, strbuf, index iconMessage Direction
strqget
index iconstrqget Command
index iconUsing Queue Information
index iconKernel Utility Interface Summary
strqset
index iconstrqset Command
index iconUsing Queue Information
index iconKernel Utility Interface Summary
structure for M_IOCTL unrecognized message, example, index iconGeneral ioctl Processing
structure for nontransparent ioctl, example, index iconI_STR ioctl Processing
synchronous input/output, in polling, index iconSynchronous Input and Output
system crash, index iconShared Data