Extensible Firmware Interface Specification
270
12/12/00
Version 1.02
14.1.11 EFI_PXE_BASE_CODE.SetStationIp()
Summary
Updates the station IP address and/or subnet mask values of a network device.
Prototype
EFI_STATUS
(EFIAPI *EFI_PXE_BASE_CODE_SET_STATION_IP) (
IN EFI_PXE_BASE_CODE
*This,
IN EFI_IP_ADDRESS
*NewStationIp,
OPTIONAL
IN EFI_IP_ADDRESS
*NewSubnetMask
OPTIONAL
);
Parameters
This
Pointer to the
EFI_PXE_BASE_CODE
instance.
NewStationIp
Pointer to the new IP address to be used by the network device. If this
field is
NULL
, then the
StationIp
address will not be modified.
NewSubnetMask
Pointer to the new subnet mask to be used by the network device. If this
field is
NULL
, then the
SubnetMask
will not be modified.
Description
This function updates the station IP address and/or subnet mask values of a network device.
The
NewStationIp
field is used to modify the network device’s current IP address. If
NewStationIP
is
NULL
, then the current IP address will not be modified. Otherwise, this
function updates the
StationIp
field of the
EFI_PXE_BASE_CODE_MODE
structure with
NewStationIp
.
The
NewSubnetMask
field is used to modify the network device’s current subnet mask. If
NewSubnetMask
is
NULL
, then the current subnet mask will not be modified. Otherwise, this
function updates the
SubnetMask
field of the
EFI_PXE_BASE_CODE_MODE
structure with
NewSubnetMask
.
Status Codes Returned
EFI_SUCCESS
The new station IP address and/or subnet mask were updated.
EFI_INVALID_PARAMETER
One of the parameters is not valid.
EFI_NOT_STARTED
The PXE Base Code Protocol is not in the started state.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...