summaryrefslogtreecommitdiff
path: root/src/udev/udev-ctrl.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-12-09 23:43:26 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-12 11:43:34 -0500
commit8c00042c939938818365753023ff2d50f984dec6 (patch)
treeafffca11004c504d8c6e98ca3efea1d8911e8f13 /src/udev/udev-ctrl.c
parentd3d8ac2f2bac721d99f893c0a0128d21db636d4c (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 'src/udev/udev-ctrl.c')
0 files changed, 0 insertions, 0 deletions