HP rp5400 HP DLPI Programmer's Guide - Page 169
Supported ioctls, DL_IOC_DRIVER_OPTIONS
View all HP rp5400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 169 highlights
NOTE DLPI Input/Output Controls Supported ioctls Supported ioctls DLPI supports the following ioctls: • DL_IOC_DRIVER_OPTIONS • DL_IOC_HDR_INFO • DL_HP_SET_DRV_PARAM_IOCTL • DL_HP_GET_DRV_PARAM_IOCTL • DLPI_SET_NOLOOPBACK For all ioctls, either an M_IOCACK or M_IOCNACK message is sent to the DLS user, and if an error occurs, the ioc_error field is set. DL_IOC_DRIVER_OPTIONS DL_IOC_DRIVER_OPTIONS negotiates the options between DLPI and a DLS user. In other words, this ioctl negotiates the features with an instance of the driver. This ioctl is valid for in-kernel STREAMS DLPI users only. DLS user sets the feature bits about which it wants to enquire. DLPI compares the DLS user's feature with the driver's feature and its own internal capability. After the comparison, DLPI clears the bits in driver_ops_type (defined later in this section) that are not supported or not understood by DLPI or driver. The DLS user that negotiates the driver features and header template must also request for link event notifications using the DL_HP_NOTIFY_EVENT_REQ primitive (see "DL_HP_NOTIFY_EVENT_REQ" on page 67). Chapter 3 169