DLPI Primitives

Connection-mode Service Primitives

DL_HP_SET_REMOTE_WIN_REQ

dl_remote_win

size of the remote receive window. This value must be greater than 0 and less than 128.

State

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 specified dl_remote_win is valid and the primitive was 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_SYSERR

If the specified dl_remote_win is invalid, then a DL_ERROR_ACK with dl_errno set to DL_SYSERR and dl_unix_errno set to EINVAL is returned.

DL_HP_CLEAR_STATS_REQ

Requests the DLS provider to zero the mem_fails, queue_fails,

ack_to_cnt, p_to_cnt, rej_to_cnt, busy_to_cnt, i_pkts_in, i_pkts_in_oos, i_pkts_in_drop, i_pkts_out, i_pkts_retrans, s_pkts_in, s_pkts_out, u_pkts_in, u_pkts_out, bad_pkts, max_retry_cnt, remote_busy_cnt, and hw_req_fails statistics which are reported in the DL_HP_INFO_ACK primitive.

Format

typedef struct {

u_long dl_primitive; } dl_hp_clear_stats_req_t;

Chapter 2

107

Page 107
Image 107
HP UX 11i v2 Networking Software manual Dlhpclearstatsreq, Dlhpsetremotewinreq