qinit(9S) Data Structures for Drivers qinit(9S)NAME
qinit - STREAMS queue processing procedures structure
Architecture independent level 1 (DDI/DKI)
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.
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
This release includes no support for module statistics.
SunOS 5.10 11 Apr 1991 qinit(9S)
Check Out this Related Man Page
fmodsw(9S) Data Structures for Drivers fmodsw(9S)NAME
fmodsw - STREAMS module declaration structure
Solaris DDI specific (Solaris DDI)
The fmodsw structure contains information for STREAMS modules. All STREAMS modules must define a fmodsw structure.
f_name must match mi_idname in the module_info structure. See module_info(9S). f_name should also match the module binary name. (See WARN-
All modules must set the f_flag to D_MP to indicate that they safely allow multiple threads of execution. See mt-streams(9F) for additional
char f_name[FMNAMESZ + 1]; /* module name */
struct streamtab *f_str; /* streams information */
int f_flag; /* flags */
SEE ALSO mt-streams(9F), modlstrmod(9S), module_info(9S)
STREAMS Programming Guide
If f_name does not match the module binary name, unexpected failures can occur.
SunOS 5.11 14 Nov 2002 fmodsw(9S)
Is there any possibility that a Stream Read and Write queues will interchange messages of any kind. If so what are the different possiblites and under what circumstances ?
Thanks in advance. (4 Replies)
Hi I don't understand syntax of pascal and I have some code in pascal. I will be very lucky, when someone could to rewrite into C.
procedure ListInit (var L:TList);
end; (* ListInit *)
procedure InsertFirst(var L:Tlist,El:TEl);
begin... (5 Replies)
One of our Customer is getting Coredump when our application is trying to load a library(one of our products library) using dlopen() on AIX 6.1.
Our application and our shared library are built on AIX 5.3 machine using xlC compiler.
we have tried executing the same application on... (2 Replies)
HI i need help from seniors on this issue, i need to know how to do this, i need to update 50+ server starting saturday. below is the ticket which i have with full description.
Currently MQ Series must be stopped before and started after any reboot. Not having the start/stop as part of... (2 Replies)
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)