On 4/20/16, 11:53 AM, Stephen Hemminger wrote:
> On Wed, 20 Apr 2016 09:16:15 -0700
> Roopa Prabhu wrote:
>
>> +int rtnl_wilddump_stats_req_filter(struct rtnl_handle *rth, int family, int
>> type,
>> + __u32 filt_mask)
>> +{
>> +struct {
>> +struct nl
On Wed, 20 Apr 2016 09:16:15 -0700
Roopa Prabhu wrote:
> +int rtnl_wilddump_stats_req_filter(struct rtnl_handle *rth, int family, int
> type,
> +__u32 filt_mask)
> +{
> + struct {
> + struct nlmsghdr nlh;
> + struct if_stats_msg ifsm;
>
From: Roopa Prabhu
sample hacked up patch currently used for testing.
needs re-work if ifstat will move to RTM_GETSTATS.
Signed-off-by: Roopa Prabhu
---
include/libnetlink.h | 6 ++
include/linux/if_link.h | 22 ++
include/linux/rtnetlink.h | 5 +
lib/libne