Previous section.

Data Link Provider Interface (DLPI), Version 2
Copyright © 2000 The Open Group

NAME

DL_PHYS_ADDR_REQ (dl_phys_addr_req_t) - this primitive requests the DLS provider to return either the default (factory) or the current value of the physical address associated with the stream depending upon the value of the address type selected in the request.

SYNOPSIS

The message consists of one M_PROTO message block containing the structure shown below:


typedef struct {
    t_uscalar_t  dl_primitive;
    t_uscalar_t  dl_addr_type;
} dl_phys_addr_req_t;


PARAMETERS

dl_primitive

conveys DL_PHYS_ADDR_REQ.

dl_addr_type

conveys the type of address requested - factory physical address or current physical address:

DL_FACT_PHYS_ADDR

factory physical address

DL_CURR_PHYS_ADDR

current physical address.

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_PHYS_ADDR_ACK if the request is supported. Otherwise, a DL_ERROR_ACK is returned.

ERRORS

DL_NOTSUPPORTED

Primitive is known, but not supported by the DLS Provider.

DL_OUTSTATE

The primitive was issued from an invalid state.

Contents Next section Index