DLPI Programmer's Guide
104 Chapter 2
DLPI Primitives
Connection-mode Service Primitives
maximum allowed number of retries before re-setting the connection.
This is sometimes known as the N2 variable.
The message is valid in the states DL_IDLE, DL_DATAXFER,
DL_OUTCON_PENDING, DL_INCON_PENDING,
DL_USER_RESET_PENDING, and DL_PROV_RESET_PENDING.
New State
The resulting state is unchanged.
Response
If the primitive is issued from a valid state, the DLS provider responds
with a DL_OK_ACK. Otherwise a DL_ERROR_ACK is returned.
Reasons for Failure
DL_OUTSTATE
Primitive was issued from an invalid state.
DL_HP_SET_ACK_THRESH_REQ
Requests the DLS provider to set the acknowledgment threshold to the
speciļ¬ed value.
NOTE Setting the ack thresh will not affect the local window size.
Format
typedef struct {
u_long dl_primitive;
u_long dl_ack_thresh;
} dl_hp_set_ack_thresh_req_t;
Parameters
dl_primitive
DL_HP_SET_ACK_THRESH_REQ
dl_ack_thresh
maximum number of I PDUs that can be received before an
acknowledgment is sent. If this threshold is reached, an
acknowledgment is sent and the SEND_ACK timer is restarted. This
value cannot be greater than the remote receive window size.
State