diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-12-09 23:43:26 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-12 11:43:34 -0500 |
commit | 8c00042c939938818365753023ff2d50f984dec6 (patch) | |
tree | afffca11004c504d8c6e98ca3efea1d8911e8f13 /test/hello.service | |
parent | d3d8ac2f2bac721d99f893c0a0128d21db636d4c (diff) |
dhcp: Handle received DHCP Offer message
Create a function for handling the full IP, UDP and DHCP packet
and tie it to the main loop. Verify IP and UDP headers and checksum.
Creat a new lease structure with using the values supplied in the
DHCP message. Free the lease structure when client is stopped.
Split out socket handling into a creation and a sending part. As a
result modify the test code.
Diffstat (limited to 'test/hello.service')
0 files changed, 0 insertions, 0 deletions