[knet] convert from host to network format

port/macaddress should be in network format

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