utils_net : Add the lost api in utils_net

This patch add the lost APIs in utils_net, something wrong happended
when rebase the patch(commit 9efb355).

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>