HP Rp7410 HP DLPI Programmer's Guide - Page 168
DLPI and HP-UX LAN device drivers are STREAMS-based. STREAMS, DL_HP_GET_DRV_PARAM_IOCTL
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 168 highlights
DLPI Input/Output Controls NOTE DLPI and HP-UX LAN device drivers are STREAMS-based. STREAMS enable the user applications to perform control functions using the ioctl calls on a stream attached to a driver instance. All the LAN-class drivers can be accessed only through /dev/dlpi device file. DLPI has provided ioctls to: • Negotiate options and fast-path by transport layer. • Perform driver-specific operations and/or communicate driver-specific data. DLPI has also defined ioctls that are not interpreted by DLPI and are sent directly to the driver. These ioctls are called Transparent ioctls. The two transparent ioctls defined by DLPI are as follows: • DL_HP_SET_DRV_PARAM_IOCTL • DL_HP_GET_DRV_PARAM_IOCTL For more information on these ioctls, see "DL_HP_SET_DRV_PARAM_IOCTL" on page 175 and "DL_HP_GET_DRV_PARAM_IOCTL" on page 179. In addition to the transparent ioctls, this chapter contains detailed information on other ioctls supported by DLPI (see "Supported ioctls" on page 171). The following section of this chapter contains information on how ioctls are processed. 168 Chapter 3