DLPI Primitives

Connection-mode Service Primitives

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_P_TO_REQ

Requests the DLS provider to set the P timeout to the specified value.

Format

typedef struct {

u_long dl_primitive; u_long dl_p_to;

} dl_hp_set_p_to_req_t;

dl_primitive

DL_HP_SET_P_TO_REQ

dl_p_to

new value of the P timeout in tenths of a second. The P timeout determines the length of time that LLC Type 2, after sending a command with the P bit set to 1, will wait for a response with the F bit set to 1 before attempting to force a response.

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 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.

100

Chapter 2

Page 100
Image 100
HP UX 11i v2 Networking Software manual Dlhpsetptoreq