Re: [PATCH iproute2 net-next] ifstat: move to new RTM_GETSTATS api
From: Roopa Prabhu <hidden>
Date: 2016-04-30 15:15:16
From: Roopa Prabhu <hidden>
Date: 2016-04-30 15:15:16
On 4/30/16, 3:21 AM, Jamal Hadi Salim wrote:
On 16-04-30 02:41 AM, Roopa Prabhu wrote:quoted
From: Roopa Prabhu <redacted> This patch modifies ifstat to use the new RTM_GETSTATS api to query stats from the kernel. In the process this also moves ifstat to use 64 bit stats.Breaks old kernels? May need to keep backward compat of RTM_NEWLINK and even new main struct for GETSTATS.
yes, i was wondering about that. v2 coming. If GETSTATS fails, I will fallback to RTM_NEWLINK. thanks!