Skip to content

Instantly share code, notes, and snippets.

View sachinites's full-sized avatar

Abhishek Sagar sachinites

View GitHub Profile
@sachinites
sachinites / route_dump.c
Created July 28, 2019 21:46 — forked from cl4u2/route_dump.c
Linux route monitoring example
/*
iflist.c : retrieve network interface information thru netlink sockets
(c) Jean Lorchat @ Internet Initiative Japan - Innovation Institute
v1.0 : initial version - Feb 19th 2010
This file was obtained at the following address :
http://www.iijlab.net/~jean/iflist.c