[DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFO
authorMichael Brown <mcb30@etherboot.org>
Sun, 23 Mar 2008 21:58:05 +0000 (21:58 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 23 Mar 2008 21:58:05 +0000 (21:58 +0000)
commitee4206a8a76c6d73c014f2261d4e7a1e093a40a8
tree33b632f997e5adb206b96f05202a4a89f7483682
parent1741e3e761cb152e9df8943a1e2a3f4ee52d4e9b
[DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFO

Add dedicated functions create_dhcpdiscover(), create_dhcpack() and
create_proxydhcpack() for use by external code such as the PXE preboot
code.

Register ProxyDHCP options under the global scope "proxydhcp".

Unregister previously-acquired DHCP and ProxyDHCP settings when DHCP
succeeds.
src/arch/i386/image/nbi.c
src/include/gpxe/dhcp.h
src/interface/pxe/pxe_preboot.c
src/net/udp/dhcp.c
src/usr/dhcpmgmt.c