beautypg.com

Dlpi connectionless service primitives – Sun Microsystems 1.0 User Manual

Page 147

background image

Developing Applications that Run over SunFDDI/P

121

10

DLPI primitives are defined in terms of STREAMS messages. All DLPI
messages are either type

M_PROTO

or type

M_PCPROTO

and contain the

appropriate DLPI message structure. DPLI primitives are exchanged by
confirmed negotiation—request primitives are issued by the user, which then
waits to receive an acknowledge (or error) response primitive from the
provider. This type of negotiation is illustrated in Figure 10-2.

Figure 10-2 DLPI Request/Response Negotiation

DLPI Connectionless Service Primitives

Applications developed to run over FDDI use the DLPI connectionless service
primitives, which support the following set of operations:

Attaching a STREAM to a given addressable device

Getting and setting the physical address of the attached device

Binding a data link service access point (SAP) to the STREAM

Transmitting and receiving data link frames

Transmitting and receiving LLC XID/TEST messages

Transmitting and receiving multicast addresses

Enabling physical and data link promiscuous mode

Data link service user

Data link service provider

Request primitive

Response primitive