netlink

Query and modify advanced information about interfaces

I need to do following tasks: List the interfaces Set/remove/list IPv6 address Add/remove routing entries AFAIK I cannot use ioctl I need to use netlink. The problem is that I couldn't find good description how to use it (most netlink tutorials concentrate on how to create connection). strace also didn't prove useful. ...

How do I use netlink for kernel to kernel communications?

I've read lots of examples and questions here about how to have a user-space program communicate with a kernel module via the netlink interface. I've also read about how netlink and generic netlink can be used for kernel to kernel communications. I have not found any code to demonstrate this capability. If netlink is not the correct appr...