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

Parameters

dl_primitive

DL_XID_IND

dl_flag

flag values associated with the received XID frame:

DL_POLL_FINAL indicates if the received xid frame had the poll/final bit 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

134

Chapter 2

Page 134
Image 134
HP UX 11i v2 Networking Software manual 134