diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-12-09 23:43:27 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-12 11:43:34 -0500 |
commit | e2dfc79f0624dfbfa30156880b31b13510405f54 (patch) | |
tree | cdfd27947556e00e464573e6158b721f089f8523 /test | |
parent | 8c00042c939938818365753023ff2d50f984dec6 (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 'test')
0 files changed, 0 insertions, 0 deletions