]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dhcp] Extract timing parameters out to config/dhcp.h
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 26 Jan 2015 17:54:29 +0000 (10:54 -0700)
committerMichael Brown <mcb30@ipxe.org>
Wed, 25 Feb 2015 16:58:43 +0000 (16:58 +0000)
commit47aebc24d3d2aa45cde234f556d31319cc9a2b71
treec944ab35ccf79434781e81f42f5db845ec1206eb
parent5350b65a3ce727f20e9d9fa7b9c2c0af52cfb7bd
[dhcp] Extract timing parameters out to config/dhcp.h

iPXE uses DHCP timeouts loosely based on values recommended by the
specification, but often abbreviated to reduce timeouts for reliable
and/or simple network topologies.  Extract the DHCP timing parameters
to config/dhcp.h and document them.  The resulting default iPXE
behavior is exactly the same, but downstreams are now afforded the
opportunity to implement spec-compliant behavior via config file
overrides.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/dhcp.h [new file with mode: 0644]
src/include/ipxe/dhcp.h
src/net/udp/dhcp.c