Extensible Firmware Interface Specification
G.4.12
Station Address
This command is used to get current station and broadcast MAC addresses and, if supported, to
change the current station MAC address.
G.4.12.1
Issuing the Command
To issue a Station Address command, create a CDB and fill it in as shows in the table below:
CDB Field
How to initialize the CDB structure for a Station Address command
OpCode
PXE_OPCODE_STATION_ADDRESS
OpFlags
Set as needed.
CPBsize
sizeof(PXE_CPB_STATION_ADDRESS)
DBsize
sizeof(PXE_DB_STATION_ADDRESS)
Address of
CPBaddr
Address of
DBaddr
StatCode
PXE_STATCODE_INITIALIZE
StatFlags
PXE_STATFLAGS_INITIALIZE
A valid interface number from zero to !PXE.IFcnt.
IFnum
Control
Set as needed.
OpFlags
To read current station and broadcast MAC addresses set the OpFlags field to:
•
PXE_OPFLAGS_STATION_ADDRESS_READ
To change the current station to the address given in the CPB set the OpFlags field to:
•
PXE_OPFLAGS_STATION_ADDRESS_WRITE
To reset the current station address back to the power on default, set the OpFlags field to:
•
PXE_OPFLAGS_STATION_ADDRESS_RESET
Preparing the CPB
To change the current station MAC address the
be set.
typedef struct s_pxe_cpb_station_address {
// If supplied and supported, the current station MAC address
// will be changed.
PXE_MAC_ADDR StationAddr;
} PXE_CPB_STATION_ADDRESS;
442
PXE_CPB_STATION_ADDRESS
PXE_DB_STATION_ADDRESS
CDB.CPBsize
12/12/00
structure.
structure.
and
CDB.CPBaddr
Version 1.02
fields must
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?