Add FEATURE() macro, plus code to display features at startup time,

and generate DHCP options to indicate features to DHCP server (and to
PXE NBPs).
This commit is contained in:
Michael Brown
2007-08-02 04:24:39 +01:00
parent 857c5db4dd
commit 0acb016840
6 changed files with 99 additions and 1 deletions

View File

@@ -168,6 +168,11 @@ struct job_interface;
*/
#define DHCP_EB_SIADDR DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 3 )
/*
* Tags in the range 0x10-0x7f are reserved for feature markers
*
*/
/** Network device descriptor
*
* Byte 0 is the bus type ID; remaining bytes depend on the bus type.