Remove disabled ni_dhcp4_fsm_recover_lease

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove disabled lease read/write code

Signed-off-by: Olaf Hering <olaf@aepfle.de>
make ni_capture_retransmit static

Signed-off-by: Olaf Hering <olaf@aepfle.de>
make ni_dhcp4_fsm_set_timeout_msec static

Signed-off-by: Olaf Hering <olaf@aepfle.de>
make ni_dhcp4_fsm_set_timeout static

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return code from __ni_dhcp4_fsm_discover

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return code from ni_dhcp4_fsm_request

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return value from ni_dhcp4_fsm_renewal

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return code from ni_dhcp4_fsm_reboot

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return code from ni_dhcp4_fsm_rebind

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return code from ni_dhcp4_fsm_decline

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove unused return code from ni_dhcp4_fsm_release

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove dev check in ni_dhcp4_fsm_arp_validate

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Remove dev check in ni_dhcp4_fsm_process_arp_packet

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Free value unconditionally in ni_dhcp4_device_set_config

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Make debug msg about fsm timeout more obvious

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Adjust comment in ni_timer_get_time about the need for wallclock time

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Use generic buffer functions to manage dhcp4 msgbuffer

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Retransmit capture only if nretries is set in timeout

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Handle positive nretries in timer code

Signed-off-by: Olaf Hering <olaf@aepfle.de>