Is there a way to obtain flags of the routing table through any API?
- Netlink socket doesn't show any place for flags.
- After checking
routecommand's source code in
net-toolsit seems that it reads route from
procfilesystem, i am wary of doing this, as it seems to be OS flavor dependent.