HP rp5400 HP DLPI Programmer's Guide - Page 19
Device File Format, Header Files, Major, Minor, Access
![]() |
View all HP rp5400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 19 highlights
NOTE Introduction to DLPI HP DLPI Features Device File Format The description of the device file formats required for accessing the STREAMS DLPI LAN driver is as follows: Name /dev/dlpi /dev/dlpiX Type Major # Minor # Access c 72 0x77 Clone access c 119 0xX Non-clone access HP DLPI supports up to 100 non-clone device files. HP recommends that device file names follow the naming convention /dev/dlpiX, where X is the number of the device. Header Files There are two DLPI header files: dlpi.h and dlpi_ext.h. Both these header files are present in /usr/include/sys. dlpi.h contains definitions for the standard DLPI primitives, and dlpi_ext.h contains definitions for the HP extended DLPI primitives. Chapter 1 19
![](/manual_guide/products/hewlettpackard-rp5405-hp-dlpi-programmers-guide-20e47ad/19.png)
Introduction to DLPI
HP DLPI Features
Chapter 1
19
Device File Format
The description of the device file formats required for accessing the
STREAMS DLPI LAN driver is as follows:
NOTE
HP DLPI supports up to 100 non-clone device files. HP recommends that
device file names follow the naming convention
/dev/dlpiX
, where
X
is
the number of the device.
Header Files
There are two DLPI header files:
dlpi.h
and
dlpi_ext.h
. Both these
header files are present in
/usr/include/sys
.
dlpi.h
contains definitions for the standard DLPI primitives, and
dlpi_ext.h
contains definitions for the HP extended DLPI primitives.
Name
Type
Major #
Minor #
Access
/dev/dlpi
c
72
0x77
Clone access
/dev/dlpiX
c
119
0xX
Non-clone access