DLPI Primitives

Primitives to Handle XID and TEST Operations

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_ind_t;

Parameters

dl_primitive

DL_TEST_IND

dl_flag

flag values associated with the received TEST frame:

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

offset from the beginning of the M_PROTO message block where the source DLSAP address begins.

State

The message is valid in states DL_IDLE and DL_DATAXFER.

New State

Chapter 2

129