Moved some code to libnl