DLPI Programmer's Guide
Chapter 2 117
DLPI Primitives
Connection-mode Service Primitives
DL_TOKEN_REQ
Requests that a connection response token be assigned to the stream and
returned to the DLS user. This token can be supplied in the
DL_CONNECT_RES primitive to indicate the stream on which a
connection will be established.
Format
The message consists of one M_PROTO message block containing the
structure shown below.
typedef struct {
ulong dl_primitive;
} dl_token_req_t;
Parameters
dl_primitive
DL_TOKEN_REQ
State
The message is valid in any state in which a local acknowledgement is
not pending, as described in Appendix B, Allowable Sequence of DLPI
Primitives, of the DLPI 2.0 speciļ¬cation.
New State
The resulting state is unchanged.
Response
The DLS provider responds to the information request with a
DL_TOKEN_ACK.
DL_TOKEN_ACK
This message is sent in response to DL_TOKEN_REQ; it conveys the
connection response token assigned to the stream.
Format
The message consists of one M_PROTO message block containing the
structure shown below.
typedef struct {
ulong dl_primitive;
ulong dl_token;
} dl_token_ack_t;