pxe: Re-add support for embedded DHCP options

Fix the support for embedded DHCP options.  Although we were
diligently saving them away, we never actually parsed them.

This fixes embedded options for BIOS only -- for EFI we need to modify
the encoding scheme so that it can fit inside an EFI PECOFF image.

Signed-off-by: H. Peter Anvin <>
4 files changed