DLPI Primitives

Primitives to Handle XID and TEST Operations

The resulting state is unchanged.

DL_TEST_CON

Conveys the TEST response DLSDU from the DLS provider to the DLS user in response to a DL_TEST_REQ.

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;

ulong

dl_src_addr_length;

ulong

dl_src_addr_offset;

}dl_test_con_t;

Parameters

dl_primitive

DL_TEST_CON

dl_flag

flag values for the request 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.

dl_src_addr_length

length of the source DLSAP address. If the source user is implemented using DLPI, this address is the full DLSAP address returned on the DL_BIND_ACK.

dl_src_addr_offset

Chapter 2

131