Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

STREAMS Programming Guide
Copyright
Expand TOC  Preface

Part I Application Programming Interface
Collapse TOC  1.  Overview of STREAMS
What Is STREAMS?
STREAMS Definitions
Stream as a Data Path
Stream Head
STREAMS Module
STREAMS Device Driver
STREAMS Data
Message Queues
Communicating With a STREAMS Device
STREAMS Multiplexing
STREAMS Polling
Message Transfer Flow Control
When to Use STREAMS
How STREAMS Works--Application Interface
Opening a Stream
Closing a Stream
Controlling Data Flow
Simple Stream Example
How STREAMS Works at the Kernel Level
Creating the Stream Head
Message Processing
Structure of a STREAMS Device Driver
Message Components
Message Queueing Priority
Structure of a Message Queue
Configuring Multiplexed Streams
Multithreading the Kernel
Service Interfaces
Manipulating Modules
Protocol Portability
Protocol Substitution
Protocol Migration
Module Reusability
Expand TOC  2.  STREAMS Application-Level Components
Expand TOC  3.  STREAMS Application-Level Mechanisms
Expand TOC  4.  Application Access to the STREAMS Driver and Module Interfaces
Expand TOC  5.  STREAMS Administration
Expand TOC  6.  Pipes and Queues

Part II Kernel Interface
Expand TOC  7.  STREAMS Framework - Kernel Level
Expand TOC  8.  STREAMS Kernel-Level Mechanisms
Expand TOC  9.  STREAMS Drivers
Expand TOC  10.  STREAMS Modules
Expand TOC  11.  Configuring STREAMS Drivers and Modules
Expand TOC  12.  Multithreaded STREAMS
Expand TOC  13.  STREAMS Multiplex Drivers

Part III Advanced Topics
Expand TOC  14.  Debugging STREAMS-based Applications

Part IV Appendixes
Expand TOC  A.   Message Types
Expand TOC  B.   Kernel Utility Interface Summary
Expand TOC  C.   STREAMS-Based Terminal Subsystem
Expand TOC  D.   STREAMS FAQ
Expand TOC  Glossary
Expand TOC  Index