DLPI Programmer's Guide

Chapter 2 115
DLPI Primitives
Connection-mode Service Primitives
If the request fails, DL_ERROR_ACK is returned on the stream where
the DL_CONNECT_RES primitive was received, and the resulting state
of that stream and the responding stream is unchanged.
Reasons for Failure
DL_BADTOKEN
The token for the responding stream was not associated with a
currently open stream.
DL_BADQOSPARAM
The quality of service parameters contained invalid values.
DL_BADQOSTYPE
The quality of service structure type was not supported by the DLS
provider.
DL_BADCORR
The correlation number specified in this primitive did not correspond
to a pending connect indication.
DL_ACCESS
The DLS user did not have proper permission to use the responding
stream.
DL_OUTSTATE
The primitive was issued from an invalid state, or the responding
stream was not in a valid state for establishing a connection.
DL_SYSERR
A system error has occurred and the UNIX system error is indicated
in the DL_ERROR_ACK.
DL_PENDING
Current stream and responding stream is the same and there is more
than one outstanding connect indication.
DL_CONNECT_CON
Informs the local DLS user that the requested data link connection has
been established.