HP A180 HP DLPI Programmer's Guide - Page 168
DLPI Input/Output Controls, STREAMS/UX for the HP 9000 Reference, Manual
View all HP A180 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 168 highlights
DLPI Input/Output Controls ioctl Processing All the ioctl commands with an I_STR request are passed to the driver instance and DLPI through the ioc_cmd field (present in iocblk structure). The STREAMS kernel modules that reside on top of DLPI (transport layer) can generate ioctl by constructing an M_IOCTL message block that contains the iocblk structure. NOTE The ioc_cmd field of the iocblk structure is set to appropriate command supported by device driver or DLPI. The b_cont of the M_IOCTL message block can point to the associated information required by the driver or DLPI. For more information, see STREAMS/UX for the HP 9000 Reference Manual. 168 Chapter 3
DLPI Input/Output Controls
ioctl Processing
Chapter 3
168
All the ioctl commands with an
I_STR
request are passed to the driver
instance and DLPI through the
ioc_cmd
field (present in
iocblk
structure).
The
STREAMS
kernel modules that reside on top of DLPI
(transport
layer) can generate ioctl by constructing an M_IOCTL message block
that contains the
iocblk
structure.
NOTE
The
ioc_cmd
field of the
iocblk
structure is set to
appropriate
command supported by device driver or DLPI.
The
b_cont
of the M_IOCTL message block can point to the associated
information required by the driver or DLPI.
For more information, see
STREAMS/UX for the HP 9000 Reference
Manual
.