120 SunFDDI/P1.0 Adapter User’s GuideMay 1997
10
Developing Applications with DLPI
The Data Link ProviderInterface (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, TokenRing, Token Bus, SDLC,
BISYNC, and other data link protocols.
The DLPI header fileis <sys/dlpi.h>. 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). Figure10-1
illustrates the relationship between DLPI and the layers of the FDDI protocol.
Figure10-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