HP rp5430 HP DLPI Programmer's Guide - Page 126
Dl_hp_set_local_win_req, Dl_outcon_pending
View all HP rp5430 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 126 highlights
DLPI Primitives Connection-mode Service Primitives If the specified dl_ack_thresh is greater than the remote receive window size, then a DL_ERROR_ACK with dl_errno set to DL_SYSERR and dl_unix_errno set to EINVAL is returned. The UNIX error returned may be set to (not limited to) errors listed in Table 2-2 on page 71. DL_HP_SET_LOCAL_WIN_REQ Requests the DLS provider to set the local window size to the specified value. NOTE Setting the local window size also causes the DLPI read side streams queue hi water mark to be set to (local_window_size * MTU). The (local_window_size * MTU) cannot exceed (1
DLPI Primitives
Connection-mode Service Primitives
Chapter 2
126
If the specified dl_ack_thresh is greater than the remote receive
window size, then a DL_ERROR_ACK with dl_errno set to
DL_SYSERR and dl_unix_errno set to EINVAL is returned.
The UNIX error returned may be set to (not limited to) errors listed
in Table 2-2 on page 71.
DL_HP_SET_LOCAL_WIN_REQ
Requests the DLS provider to set the local window size to the specified
value.
NOTE
Setting the local window size also causes the DLPI read side streams
queue hi water mark to be set to (local_window_size * MTU). The
(local_window_size * MTU) cannot exceed (1 << 16) - (2 * MTU).
Format
typedef struct {
u_long
dl_primitive;
u_long
dl_local_win;
} dl_hp_set_local_win_req_t;
Parameters
dl_primitive
DL_HP_SET_LOCAL_WIN_REQ
dl_local_win
size of the local 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