summaryrefslogtreecommitdiffstats
path: root/src/net/netdev_settings.c
Commit message (Collapse)AuthorAgeFilesLines
* [Settings] Remove assumption that all settings have DHCP tag valuesMichael Brown2008-03-251-22/+17Star
| | | | | | | | | | | | Allow for settings to be described by something other than a DHCP option tag if desirable. Currently used only for the MAC address setting. Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c. Remove notion of settings from dhcppkt.c. Rationalise dhcp.c to use settings API only for final registration of the DHCP options, rather than using {store,fetch}_setting throughout.
* [Settings] Implement simple_settings backed with extensible DHCP optionsMichael Brown2008-03-221-4/+4
|
* [Settings] Add per-netdevice settings blockMichael Brown2008-03-201-0/+95
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.