libknet: cleanup knet_link_set/get_config

this also allows to kill the madness around dynamic ip management
and saves enother bytes in the ping header

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>