chiark / gitweb /
libsystemd-network: Add Init-Reboot support
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 31 Jan 2014 09:31:22 +0000 (11:31 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 19 Mar 2014 08:52:40 +0000 (10:52 +0200)
commit8b1243f72ed321bd11f0939405b6d0963ce5eea5
treed25952fa0cefd111d1679c70474b21dde0d1c7d1
parent0f941add365638ad487ba94017cc2cf1f8d45195
libsystemd-network: Add Init-Reboot support

Init-Reboot is tried if a client IP address has been given when
the DHCP client is started. In Init-Reboot, start by sending a
broadcast DHCP Request including the supplied client IP address
but without the server identifier. After sending the request,
enter Reboot state.

If a DHCP Ack is received, proceed to Bound state as usual. If a
DHCP Nak is received or the first timeout triggers, start the
address acquisition over from DHCP Init state.

See RFC 2131, sections 4.3.2, 4.4, 4.4.1 and 4.4.2 for details.
src/libsystemd-network/sd-dhcp-client.c