]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Record cached DHCPACK from loaded image's device handle, if present 265/head
authorMichael Brown <mcb30@ipxe.org>
Wed, 17 Feb 2021 18:11:43 +0000 (18:11 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 17 Feb 2021 18:11:43 +0000 (18:11 +0000)
commitcd3de55ea54d709bb89d97977257dbbd723424e9
tree52dd3aaff7a225e6aff8cd5cf361fc6f53e5c64a
parentd562339fcaf1bf5fb2e27f7c465e8633804c30b5
[efi] Record cached DHCPACK from loaded image's device handle, if present

Record the cached DHCPACK obtained from the EFI_PXE_BASE_CODE_PROTOCOL
instance installed on the loaded image's device handle, if present.

This allows a chainloaded UEFI iPXE to reuse the IPv4 address and DHCP
options previously obtained by the built-in PXE stack, as is already
done for a chainloaded BIOS iPXE.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/efi_cachedhcp.h [new file with mode: 0644]
src/include/ipxe/errfile.h
src/interface/efi/efi_cachedhcp.c [new file with mode: 0644]
src/interface/efi/efiprefix.c