Getting Linux routing table using netlink.

In the previous article we discussed monitoring of the network interfaces using netlink. Now it’s time to do something more complex and interesting.
Let’s discover how to get and print system routing table like a “ip route” command do.

Continue reading “Getting Linux routing table using netlink.”