libnl/lib/route
Thomas Haller 5981a39583 route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage
Take 'include/uapi/linux/snmp.h' from current kernel v3.13
(commit d8ec26d7f8287f5788a494f56e8814210f0e64be).

The header file added new values for IPSTATS_MIB_* and ICMP6_MIB_*, but
more importantly, the kernel broke user space API by reordering enum values in
IPSTATS_MIB_*. Add a workaround when parsing IFLA_PROTINFO trying to
be compatible with both older and newer kernels.

Note that this workaround might fail for some specific kernel versions by
assuming the old enum value mapping, although the kernel version already
contains the API change. In this case rtnl_link_get_stat() mixes up
values.

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-03-21 12:38:45 +01:00
..
act add rtnl_mirred_get* functions 2013-12-09 15:33:34 +01:00
cls u32: add const to rtnl_u32_add_key_in*_addr() 2014-03-21 12:23:09 +01:00
link route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage 2014-03-21 12:38:45 +01:00
qdisc add fq_codel qdisc 2013-11-22 10:13:39 +01:00
.gitignore Let git ignore generated pktloc source files 2010-07-03 15:56:07 +02:00
act.c fix comments for rtnl_act_add() 2014-02-27 11:32:16 +01:00
addr.c addr: add address flag IFA_F_NOPREFIXROUTE 2014-01-16 11:09:32 +01:00
class.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
classid.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
cls.c fill prio and protocol attr bits when parsing cls message 2014-03-13 09:58:47 +01:00
link.c route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage 2014-03-21 12:38:45 +01:00
neigh.c nl: Print file:line:func in debugging messages and provide --disable-debug to disable debugging 2013-04-02 11:39:30 +02:00
neightbl.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
nexthop.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
pktloc.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
pktloc_grammar.l Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
pktloc_syntax.y Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
qdisc.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
route.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
route_obj.c route: rtnl_route_build_msg() should not overwrite the route scope 2014-02-20 16:49:46 +01:00
route_utils.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
rtnl.c route: fix return value of nl_rtgen_request() 2014-01-31 14:46:13 +01:00
rule.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
tc.c add an assertion in rtnl_tc_set_link() 2013-12-11 09:08:23 +01:00