Add implementation for ip lookup using libnl-3 library

Modified from libnl/sr/nl-route-get.c