Add network utility function

getIPObject was being used from libipmid/utils.cpp but it is no longer
supported there. So needed to implement here.

Will revisit this again in future to get aligned with ipmid
implementation.

Change-Id: Ib0ad5318125d28435000788f24405f3968f26b2e
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
1 file changed