Re: [PATCH iproute2-next v2 0/6] ip: Use netlink to walk through network device list

2018-02-07 Thread David Ahern
On 2/6/18 11:30 PM, Serhey Popovych wrote: > In this seris I replace /proc/net/dev and /sys/class/net usage for walk > through network device list in iptunnel/ip6tunnel and iptuntap with > netlink dump. > > Following changed since RFC was sent: > > 1) Treat @struct rtnl_link_stats and @struct r

[PATCH iproute2-next v2 0/6] ip: Use netlink to walk through network device list

2018-02-06 Thread Serhey Popovych
In this seris I replace /proc/net/dev and /sys/class/net usage for walk through network device list in iptunnel/ip6tunnel and iptuntap with netlink dump. Following changed since RFC was sent: 1) Treat @struct rtnl_link_stats and @struct rtnl_link_stats64 as array with __u32 and __u64 eleme