this just involved a better understanding of the data types provided by libnl and some refactoring to make querying as a user of the libnl library easier
nl-sys
This library provides Rust wrappers around the netlink socket protocol that the Linux kernel uses in order to provide access to routing tables and interface information