Commit Graph

11 Commits

Author SHA1 Message Date
marek-polewski 889a43b83d remove routeFilter struct and use route and mask instead
rename iif to iLinkIndex
2015-12-08 23:35:55 +01:00
marek-polewski dfdad47336 add protocol, priority, table, type, tos to route 2015-11-26 16:09:33 +01:00
Anton Aksola a2c125fb6c Add support for setting nexthop flags for routes
There are few nexthop flags that are usable in some scenarios: onlink
and pervasive. This patch allows to set, clear and list them.
2015-10-09 11:17:13 +03:00
Bryan Boreham 69942a0c81 Subscribe for async updates on links and routes 2015-08-19 15:42:33 +01:00
Vishvananda Ishaya 7663a3b4b6 Dst may be nil, so don't force it to String()
Fixes #14
2015-01-14 07:59:00 -08:00
Eugene Yakubovich e7911d879f Use LinkIndex instead of Link obj in Route, Neigh
Having object composition causes both client and library to
do potentially unecessary work to retrieve Link attributes
when only index is often sufficient.
2014-10-13 16:09:09 -07:00
Vishvananda Ishaya f87c54f846 Make links have different types 2014-09-24 16:32:16 -07:00
Vishvananda Ishaya 349cca1850 Formatting cleanup 2014-09-15 17:06:08 -07:00
Vishvananda Ishaya 950b852cad Add scope parameter to route 2014-09-14 17:44:56 -07:00
Vishvananda Ishaya 9f98335fb3 Change route to hold pointers to structs 2014-09-07 11:27:46 -07:00
Vishvananda Ishaya 8dab8b7462 Initial commit of netlink package 2014-08-31 20:34:46 -07:00