]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[netdevice] Add generic concept of a network device configurator
authorMichael Brown <mcb30@ipxe.org>
Thu, 31 Oct 2013 15:37:52 +0000 (15:37 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 5 Nov 2013 17:30:15 +0000 (17:30 +0000)
commitf2bc13839144de0daf0250e03d51c3212b082dfb
tree95fa9764f5327425b8e9cc270ce623a2e61e2b0a
parent55e85ad1ee318aa559f071d95741391eaf2dc1de
[netdevice] Add generic concept of a network device configurator

iPXE supports multiple mechanisms for network device configuration:
DHCPv4 for IPv4, FIP for FCoE, and SLAAC for IPv6.  At present, DHCPv4
requires an explicit action (e.g. a "dhcp" command), FIP is initiated
implicitly upon opening a network device, and SLAAC takes place
whenever a RA happens to be received.

Add a generic concept of a network device configurator, which provides
a common interface to triggering configuration and to reporting the
result of the configuration process.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/netdevice.h
src/net/netdevice.c