Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

streamtab(9s) [sunos man page]

streamtab(9S)						    Data Structures for Drivers 					     streamtab(9S)

streamtab - STREAMS entity declaration structure SYNOPSIS
#include <sys/stream.h> INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI). DESCRIPTION
Each STREAMS driver or module must have a streamtab structure. streamtab is made up of qinit structures for both the read and write queue portions of each module or driver. Multiplexing drivers require both upper and lower qinit structures. The qinit structure contains the entry points through which the module or driver routines are called. Normally, the read QUEUE contains the open and close routines. Both the read and write queue can contain put and service procedures. STRUCTURE MEMBERS
struct qinit *st_rdinit; /* read QUEUE */ struct qinit *st_wrinit; /* write QUEUE */ struct qinit *st_muxrinit; /* lower read QUEUE*/ struct qinit *st_muxwinit; /* lower write QUEUE*/ SEE ALSO
qinit(9S) STREAMS Programming Guide SunOS 5.10 11 Apr 1991 streamtab(9S)

Check Out this Related Man Page

qinit(9S)                                                   Data Structures for Drivers                                                  qinit(9S)

qinit - STREAMS queue processing procedures structure SYNOPSIS
#include <sys/stream.h> INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI) DESCRIPTION
The qinit structure contains pointers to processing procedures for a QUEUE. The streamtab structure for the module or driver contains pointers to one queue(9S) structure for both upstream and downstream processing. STRUCTURE MEMBERS
int (*qi_putp)(); /* put procedure */ int (*qi_srvp)(); /* service procedure */ int (*qi_qopen)(); /* open procedure */ int (*qi_qclose)(); /* close procedure */ int (*qi_qadmin)(); /* unused */ struct module_info *qi_minfo; /* module parameters */ struct module_stat *qi_mstat; /* module statistics */ SEE ALSO
queue(9S), streamtab(9S) Writing Device Drivers STREAMS Programming Guide NOTES
This release includes no support for module statistics. SunOS 5.10 11 Apr 1991 qinit(9S)
Man Page

2 More Discussions You Might Find Interesting

1. Programming

Entry Points Routine

How do we pronounciate bdevsw and cdevsw Kernel resources ? I presume it as block or charcter device software table. Am I Correct in my assumption ? Thanks in advance. (9 Replies)
Discussion started by: S.P.Prasad
9 Replies

2. AIX

AIX STREAMS driver question

Hi all, I have a AIX kernel STREAMS question need your help, I need to implement a firewall on AIX and get packet raw data then decide pass or drop it, I've seen similiar firewall code on HP-UX, on HP-UX, you have to implement a "dlpi STREAMS driver", and specify it as a "dlpi" driver in... (1 Reply)
Discussion started by: rocktilldie
1 Replies