DL_TEST_CON Primitive

Purpose

Conveys the test-response data link service data unit (DLSDU) from the data link service (DLS) provider to the DLS user in response to a DL_TEST_REQ primitive.

Structure

The primitive consists of one M_PROTO message block, which contains the following structure, followed by zero or more M_DATA blocks containing zero or more bytes of data:

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;

Description

The DL_TEST_CON primitive conveys the test-response DLSDU from the DLS provider to the DLS user in response to a DL_TEST_REQ primitive.

Note: This primitive applies to XID and test operations.

Parameters

Item Description
dl_primitive Specifies the DL_TEST_CON primitive.
dl_flag Indicates flag values for the request as follows:
DL_POLL_FINAL
Indicates whether the poll/final bit is set.
dl_dest_addr_length Specifies the length of the data link service access point (DLSAP) address of the destination DLS user. If the destination user is implemented using Data Link Provider Interface (DLPI), this address is the full DLSAP address returned on the DL_BIND_ACK primitive.
dl_dest_addr_offset Indicates where the destination DLSAP address begins. The value of this parameter is the offset from the beginning of the M_PROTO message block.
dl_src_addr_length Specifies the length of the DLSAP address of the source DLS user.
dl_src_addr_offset Indicates where the source DLSAP address begins. The value of this parameter is the offset from the beginning of the M_PROTO message block.

States

Item Description
Valid The primitive is valid in the DL_IDLE or DL_DATAXFER state.
New The resulting state is unchanged.