Branch: refs/heads/master Home: https://github.com/fabbione/kronosnet Commit: 5cad8dd4ef1fa789d10a61707421d6e9d302daab https://github.com/fabbione/kronosnet/commit/5cad8dd4ef1fa789d10a61707421d6e... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2015-12-12 (Sat, 12 Dec 2015)
Changed paths: M TODO M libknet/host.c M libknet/internals.h M libknet/libknet.h M libknet/ping_test.c M libknet/threads_send_recv.c
Log Message: ----------- [host] add host status change callback notifications
API is also ready for further expansion (external and remote support), but they are currently not implemented.
allow both notifications and polling of status via knet_host_get_status
use new notification and api polling in ping_test.c as unit test
use the new host status information in the TX thread to skip some time consuming pckt processing if the destination host(s) is not reachable
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com