mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[pxe] Support cached DHCP packets in .kkpxe images
If we don't unload the PXE stack before executing gPXE, automatically take advantage of the cached DHCPACK that the underlying/parent PXE stack can provide. If that cached DHCPACK contains option 175.178, or the user sets the use-cached setting before invoking DHCP, the real DHCP request will be skipped and the cached DHCPACK will be used for network configuration. Otherwise, the cached settings block is thrown away as soon as a fresh one is acquired. Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
committed by
Marty Connor
parent
b1ba80f8fb
commit
9e9cc8c60f
@@ -5,6 +5,9 @@
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER )
|
||||
|
||||
/* Since we have the whole stack, we can use cached DHCP information */
|
||||
REQUEST_OBJECT ( pxeparent_dhcp )
|
||||
|
||||
#define PXELOADER_KEEP_UNDI
|
||||
#define PXELOADER_KEEP_PXE
|
||||
#include "pxeprefix.S"
|
||||
|
||||
Reference in New Issue
Block a user