net-cli project for learning to interract with the kernel through the rtnetlink interface. you can look in the commands.c file to see how to use the rtnetlink interface to get simmilar results to the ip command