beautypg.com

Developing applications with dlpi – Sun Microsystems 1.0 User Manual

Page 146

background image

120

SunFDDI/P 1.0 Adapter User’s GuideMay 1997

10

Developing Applications with DLPI

The Data Link Provider Interface (DLPI) version 2 enables any data link user to
access the services of a data link provider without any special knowledge
about the underlying protocols. In addition to FDDI services, DLPI supports
access to X.25, LAPB, LAPD, ISDN, Ethernet, Token Ring, Token Bus, SDLC,
BISYNC, and other data link protocols.

The DLPI header file is

. A detailed description of the functions

contained in the header is available in the STREAMS DLPI Specification.

DLPI defines a STREAMS message set, state table, and conventions that
support interaction between a data link service user (for example, IP or ARP)
and a data link service provider (for example, the

pf

FDDI driver). Figure 10-1

illustrates the relationship between DLPI and the layers of the FDDI protocol.

Figure 10-1 DLPI Access to FDDI

OSI

TCP/IP

Data link provider interface (DLPI) V2

Data link service users

Data link service provider

Station Management

(SMT)

LLC1

LLC/SNAP

Media Access Control (MAC) Layer

Physical (PHY) Layer

Physical Media Dependent (PMD) Layer