Split DHCP packet creation into two parts: creating the basic packet
authorMichael Brown <mcb30@etherboot.org>
Wed, 19 Jul 2006 12:12:45 +0000 (12:12 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 19 Jul 2006 12:12:45 +0000 (12:12 +0000)
commit254fe6e00e52579800031f6a106b40289e519cde
tree2443f6f841703ef9637f338788a81aa78491ff67
parente40ebb67de88082e9f7a14a1a5c68d10b5c100e7
Split DHCP packet creation into two parts: creating the basic packet
structure, and populating it with options.  This should allow us to
use the same basic options list for both DHCPDISCOVER and DHCPREQUEST,
plus making it much easier to set the non-constant parameters
(e.g. requested IP address) in request packets.
src/include/gpxe/dhcp.h
src/net/udp/dhcp.c