[Settings] Add per-netdevice settings block

Add a configuration settings block for each net device.  This will
provide the parent scope for settings applicable only to that network
device (e.g. non-volatile options stored on the NIC, options obtained via
DHCP, etc.).

Expose the MAC address as a setting.
This commit is contained in:
Michael Brown
2008-03-20 21:06:53 +00:00
parent 260b93bb72
commit acfa14423e
6 changed files with 126 additions and 1 deletions
+9
View File
@@ -177,6 +177,15 @@ struct job_interface;
*/
#define DHCP_EB_SIADDR DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 3 )
/** MAC address
*
* This option is used internally to contain the network device
* hardware address, in order to provide a consistent approach to
* storing and processing options. It should never be present in a
* DHCP packet.
*/
#define DHCP_EB_MAC DHCP_ENCAP_OPT ( DHCP_EB_ENCAP, 4 )
/*
* Tags in the range 0x10-0x7f are reserved for feature markers
*