DLPI Primitives
Connection-mode Service Primitives
Format
The message consists of one M_PROTO message block containing the structure shown below.
typedef struct { |
|
ulong | dl_primitive; |
ulong | dl_resp_addr_length |
ulong | dl_resp_addr_offset |
ulong | dl_qos_lenth; |
ulong | dl_qos_offset; |
ulong | dl_growth; |
} dl_connect_con_t;
Parameters
dl_primitive
DL_CONNECT_CON
dl_resp_addr_length
length of the address of the responding DLSAP associated with the newly established data link connection.
dl_resp_addr_offset
offset from the beginning of the M_PROTO message block where the responding DLSAP address begins.
dl_qos_length
length of the quality of service parameter the DLS user selected when issued the DL_CONNECT_REQ.
dl_qos_offset
offset from the beginning of the M_PROTO message block where the quality of service parameter begin.
dl_growth
growth field for future enhancements to this primitive. Its value will be set to zero.
State
The message is valid in state DL_OUTCON_PENDING.
New State
The resulting state is DL_DATAXFER.
116 | Chapter 2 |