Introduction to DLPI

HP DLPI Features

Connection Management STREAMS; DL_SUBS_BIND_REQ and DL_SUBS_UNBIND_REQ over connection-oriented STREAMS.

Acknowledged connectionless-mode services.

Device File Format

The following is a description of the device file formats required for accessing the STREAMS DLPI LAN driver.

 

 

NameTypeMajor #Minor #Access

 

 

 

 

 

 

 

 

 

 

 

/dev/dlpi

c

72

0x77

Clone access

 

 

 

 

 

 

 

 

 

 

 

/dev/dlpiX

c

119

0xX

Non-clone access

 

 

 

 

 

 

 

 

 

 

 

HP DLPI supports up to 100 non-clone device files. HP recommends that

NOTE

 

 

 

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 are in /usr/include/sys. dlpi.h contains definitions for the standard DLPI primitives. dlpi_ext.h contains definitions for the HP extended DLPI primitives.

16

Chapter 1