summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-12-09 23:43:27 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-12 11:43:34 -0500
commite2dfc79f0624dfbfa30156880b31b13510405f54 (patch)
treecdfd27947556e00e464573e6158b721f089f8523 /src/nspawn
parent8c00042c939938818365753023ff2d50f984dec6 (diff)
dhcp: Send DHCP Request to acquire an IP address
Create and send a DHCP Request message reusing already existing parts of the code. This causes factoring out IP and UDP header creation and moving next timeout calculation to be done every time in the timer callback function independent of DHCP state. Also add an exponential part to the timer calculation, bail out if there are errors while resending the DHCP message for the sixth or more times.
Diffstat (limited to 'src/nspawn')
0 files changed, 0 insertions, 0 deletions