Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP DLPI Programmer's Guide: HP-UX 11i v2

Chapter 2 DLPI Primitives

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Table of Contents

Local Management Primitives
PPA Initialization and De-initialization
DL_HP_PPA_REQ
DL_HP_PPA_ACK
DL_INFO_REQ
DL_INFO_ACK
DL_HP_NOTIFY_EVENT_REQ
DL_LINK_DOWN_IND
DL_LINK_UP_IND
DL_ATTACH_REQ
DL_DETACH_REQ
DL_BIND_REQ
DL_BIND_ACK
DL_UNBIND_REQ
DL_SUBS_BIND_REQ
DL_SUBS_BIND_ACK
DL_SUBS_UNBIND_REQ
DL_ENABMULTI_REQ
DL_DISABMULTI_REQ
DL_PROMISCON_REQ
DL_PROMISCOFF_REQ
DL_HP_HW_RESET_REQ
DL_HP_RESET_STATS_REQ
DL_OK_ACK
DL_ERROR_ACK
Optional Primitives to Perform Essential Management Functions
DL_PHYS_ADDR_REQ
DL_PHYS_ADDR_ACK
DL_SET_PHYS_ADDR_REQ
DL_GET_STATISTICS_REQ
DL_GET_STATISTICS_ACK
DL_HP_GET_64BIT_STATS_REQ
DL_HP_GET_64BIT_STATS_ACK
DL_HP_MULTICAST_LIST_REQ
DL_HP_MULTICAST_LIST_ACK
Connectionless-mode Service Primitives
DL_UNITDATA_REQ
DL_UNITDATA_IND
DL_UDERROR_IND
Raw Mode Service Primitives
DL_HP_RAWDATA_REQ
DL_HP_RAWDATA_IND
Connection-mode Service Primitives
Connection-Oriented DLPI Extensions
DL_HP_INFO_REQ
DL_HP_INFO_ACK
DL_HP_SET_ACK_TO_REQ
DL_HP_SET_P_TO_REQ
DL_HP_SET_REJ_TO_REQ
DL_HP_SET_BUSY_TO_REQ
DL_HP_SET_SEND_ACK_TO_REQ
DL_HP_SET_MAX_RETRIES_REQ
DL_HP_SET_ACK_THRESH_REQ
DL_HP_SET_LOCAL_WIN_REQ
DL_HP_SET_REMOTE_WIN_REQ
DL_HP_CLEAR_STATS_REQ
DL_HP_SET_LOCAL_BUSY_REQ
DL_HP_CLEAR_LOCAL_BUSY_REQ
DL_CONNECT_REQ
DL_CONNECT_IND
DL_CONNECT_RES
DL_CONNECT_CON
DL_TOKEN_REQ
DL_TOKEN_ACK
DL_DATA_REQ
DL_DATA_IND
DL_DISCONNECT_REQ
DL_DISCONNECT_IND
DL_RESET_REQ
DL_RESET_IND
DL_RESET_RES
DL_RESET_CON
Primitives to Handle XID and TEST Operations
DL_TEST_REQ
DL_TEST_IND
DL_TEST_RES
DL_TEST_CON
DL_XID_REQ
DL_XID_IND
DL_XID_RES
DL_XID_CON
DLPI States

The kernel-level interface to the data link layer defines a STREAMS-based message interface between the provider of the data link service (DLS provider) and the consumer of the data link service (DLS user). STREAMS provides the mechanism in which DLPI primitives may be passed between the DLS user and DLS provider.

Before DLPI primitives can be passed between the DLS user and the DLS provider, the DLS user must establish a stream to the DLS provider using open(2). The DLS provider must therefore be configured as a STREAMS driver. When interactions between the DLS user and DLS provider is complete, the stream can be closed.

The STREAMS messages, used to transport data link service primitives across the interface, have one of the following formats:

  • One M_PROTO message block followed by zero or more M_DATA blocks. The M_PROTO message block contains the data link layer service primitive type and all relevant parameters associated with the primitive. The M_DATA block(s) contain the DLS user data that might be associated with the service primitive.

  • One M_PCPROTO message block containing the data link layer service primitive type and all relevant parameters associated with the service primitive.

  • One or more M_DATA message blocks conveying user data.

The following sections describe the format of the supported primitives. The primitives are grouped into four categories:

  • Local Management Service Primitives

  • Connectionless-mode Service Primitives

  • Connection-mode Service Primitives

  • Primitives to handle XID and TEST operations

All of the DLPI extensions listed in this chapter are defined in <sys/dlpi_ext.h> and <sys/dlpi.h>.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.