DLPI Programmer's Guide

Chapter 2 81
DLPI Primitives
Local Management Primitives
typedef struct {
ulong dl_primitive;
ulong dl_addr_length;
ulong dl_addr_offset;
} dl_set_phys_addr_req_t;
Parameters
dl_primitive
DL_SET_PHYS_ADDR_REQ
dl_addr_length
length of the requested hardware address.
dl_addr_offset
offset from beginning of the M_PROTO message block.
State
The message is valid in any attached state in which a local
acknowledgement is not pending. For a style 2 provider, this would be
after a PPA is attached using the DL_ATTACH_REQ. For a style 1
provider, the PPA is implicitly attached after the stream is opened.
New State
The resulting state is unchanged.
Response
The provider responds to the request with a DL_OK_ACK on successful
completion. Otherwise, a DL_ERROR_ACK is returned.
Reasons for Failure
DL_BADADDR
The address information was invalid or was in an incorrect format.
DL_NOTSUPPORTED
The primitive is known, but not supported by the DLS provider.
DL_SYSERR
A system error has occurred.
DL_OUTSTATE
The primitive was issued from an invalid state.