DLPI Programmer's Guide

130 Chapter 2
DLPI Primitives
Primitives to Handle XID and TEST Operations
The resulting state is unchanged.
Response
The DLS user must respond with a DL_TEST_RES.
DL_TEST_RES
Conveys the TEST response DLSDU from the DLS user to the DLS
provider in response to a DL_TEST_IND.
Format
The message consists of one M_PROTO message block, followed by zero
or more M_DATA blocks containing zero or more bytes of data. The
message structure is as follows:
typedef struct {
ulong dl_primitive;
ulong dl_flag;
ulong dl_dest_addr_length;
ulong dl_dest_addr_offset;
} dl_test_res_t;
Parameters
dl_primitive
DL_TEST_RES
dl_flag
flag values for the response as follows:
DL_POLL_FINAL indicates if the poll/final bit is set.
dl_dest_addr_length
length of the DLSAP address of the destination DLS user. If the
destination user is implemented using DLPI, this address is the full
DLSAP address returned on the DL_BIND_ACK.
dl_dest_addr_offset
offset from the beginning of the M_PROTO message block where the
destination DLSAP address begins.
State
The message is valid in states DL_IDLE and DL_DATAXFER.
New State