events: emit device-change event on newlink

Emit device-change events on newlink netlink events,
which change things without to change the UP states.
Merge pull request #383 from mtomaschewski/device-change

events: emit device-change event on newlink
fsm: added additional callback debugging
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>
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>