STREAMS Programming Guide

Exit Print View

Updated: July 2014
 
 

M

M_BREAKindex iconM_BREAK
M_COPYINindex iconM_COPYIN
M_COPYOUTindex iconM_COPYOUT
transparent ioctl exampleindex iconBidirectional Data Transfer Example
with M_IOCTLindex iconM_IOCTL
M_COPYOUT using transparent ioctl
exampleindex iconM_COPYOUT
M_CTLindex iconM_CTL
M_STOPindex iconSO_MREADOFF and M_STOP
SO_MREADOFFindex iconSO_MREADOFF and M_STOP
with line discipline moduleindex iconLine-Discipline Module
M_DATAindex iconM_DATA
M_DELAYindex iconM_DELAY
M_ERRORindex iconM_ERROR
M_FLUSHindex iconM_FLUSH
flagsindex iconM_FLUSH
flush read and write queuesindex iconM_FLUSH Arguments and bi_flag values
flush read side of streamindex iconM_FLUSH Arguments and bi_flag values
flush write side of streamindex iconM_FLUSH Arguments and bi_flag values
FLUSHRindex iconM_FLUSH Arguments and bi_flag values
FLUSHRWindex iconM_FLUSH Arguments and bi_flag values
FLUSHWindex iconM_FLUSH Arguments and bi_flag values
in module exampleindex iconFlushing a Queue
packet modeindex iconPacket Mode
M_FLUSH message handling
descriptionindex iconM_FLUSH Message Handling
M_HANGUPindex iconM_HANGUP
M_IOCACKindex iconM_IOCACK
with M_COPYOUTindex iconM_COPYOUT
with M_IOCTLindex iconM_IOCTL
M_IOCDATAindex iconM_IOCDATA
M_IOCDATA processing
example
index iconBidirectional Data Transfer
index iconM_COPYIN: Copy the address Structure
M_IOCNAKindex iconM_IOCNAK
with M_COPYOUTindex iconM_COPYOUT
with M_IOCTLindex iconM_IOCTL
M_IOCTL
index iconM_IOCTL
index iconM_IOCTL
transparentindex iconM_IOCTL
with M_COPYOUTindex iconM_COPYOUT
M_PASSFPindex iconM_PASSFP
M_PCPROTOindex iconM_PCPROTO
M_PCRSEindex iconM_PCRSE
M_PCSIGindex iconM_PCSIG
M_PROTO
index iconM_PROTO
index iconM_PROTO
M_READindex iconM_READ
M_RSEindex iconM_RSE
M_SETOPTSindex iconM_SETOPTS
SO_FLAGindex iconM_SETOPTS
SO_ISTTYindex iconM_SIG
so_readopt optionsindex iconRead Options
M_SIGindex iconM_SIG
in signalingindex iconsignal Message
M_STOPindex iconSO_MREADOFF and M_STOP
M_STOPIindex iconSO_MREADOFFI and M_STOPI
M_UNHANGUPindex iconM_UNHANGUP
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
mdbindex iconadb 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 iconSend and Receive Messages
getpmsgindex iconSend and Receive Messages
high-priority
index iconFlow Control Mechanism
index iconMessage Ordering with One Priority Band
linkingindex iconMessage Linkage
M_BREAK
index iconM_BREAK
index iconOrdinary Messages, Description of Communication Flow
M_COPYIN
index iconM_COPYIN
index iconHigh-Priority Messages, Description of Communication Flow
M_COPYOUT
index iconM_COPYOUT
index iconHigh-Priority Messages, Description of Communication Flow
M_CTL
index iconSO_MREADOFF and M_STOP
index iconM_CTL
index iconOrdinary Messages, Description of Communication Flow
M_DATA
index iconM_DATA
index iconOrdinary Messages, Description of Communication Flow
M_DELAY
index iconM_DELAY
index iconOrdinary Messages, Description of Communication Flow
M_ERROR
index iconM_ERROR
index iconHigh-Priority Messages, Description of Communication Flow
M_FLUSH index iconHigh-Priority Messages, Description of Communication Flow
M_FLUSHindex iconM_FLUSH
M_HANGUP
index iconM_HANGUP
index iconHigh-Priority Messages, Description of Communication Flow
M_IOCACK
index iconM_IOCACK
index iconHigh-Priority Messages, Description of Communication Flow
M_IOCDATA
index iconM_IOCDATA
index iconHigh-Priority Messages, Description of Communication Flow
M_IOCNAK
index iconM_IOCNAK
index iconHigh-Priority Messages, Description of Communication Flow
M_IOCTL
index iconM_IOCTL
index iconOrdinary Messages, Description of Communication Flow
M_PASSFP
index iconM_PASSFP
index iconOrdinary Messages, Description of Communication Flow
M_PCPROTO
index iconM_PCPROTO
index iconHigh-Priority Messages, Description of Communication Flow
M_PCRSEindex iconM_PCRSE
M_PCSIG
index iconM_PCSIG
index iconHigh-Priority Messages, Description of Communication Flow
M_PROTO
index iconM_PROTO
index iconOrdinary Messages, Description of Communication Flow
M_READ
index iconM_READ
index iconHigh-Priority Messages, Description of Communication Flow
M_RSEindex iconM_RSE
M_SETOPTS
index iconM_SETOPTS
index iconOrdinary Messages, Description of Communication Flow
M_SIGindex iconOrdinary Messages, Description of Communication Flow
M_STARTindex iconHigh-Priority Messages, Description of Communication Flow
M_STARTIindex iconHigh-Priority Messages, Description of Communication Flow
M_STOPindex iconHigh-Priority Messages, Description of Communication Flow
M_STOPI
index iconSO_MREADOFFI and M_STOPI
index iconHigh-Priority Messages, Description of Communication Flow
M_UNHANGUP
index iconM_UNHANGUP
index iconHigh-Priority Messages, Description of Communication Flow
msgb structure
index iconSimple Message Referencing the Data Block
index iconMessage Structure
priorityindex iconMessage Queues and Message Priority
putmsgindex iconSend and Receive Messages
putpmsgindex iconSend and Receive Messages
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
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 iconHigh-Priority Messages, Description of Communication Flow
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
index iconOrdinary Messages
index iconOrdinary Messages, Description of Communication Flow
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
modlinkage structure
module link informationindex iconmodlinkage
revision level of loadable modulesindex iconmodlinkage
modlstrmod structure
module operations and linkage informationindex iconmodlstrmod
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
msgdsizeindex iconKernel Utility Interfaces
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
descriptionindex iconMT STREAMS Perimeters
exclusive/shared access flagsindex iconOuter Perimeter Flag
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 iconInner Perimeter Flags
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