lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170310085859.10336dfd@xeon-e3>
Date:   Fri, 10 Mar 2017 08:58:59 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Robert Shearman <rshearma@...cade.com>
Cc:     <netdev@...r.kernel.org>, David Ahern <dsa@...ulusnetworks.com>,
        roopa <roopa@...ulusnetworks.com>
Subject: Re: [PATCH iproute2] iplink: add support for afstats subcommand

On Thu, 9 Mar 2017 12:43:36 +0000
Robert Shearman <rshearma@...cade.com> wrote:

> Add support for new afstats subcommand. This uses the new
> IFLA_STATS_AF_SPEC attribute of RTM_GETSTATS messages to show
> per-device, AF-specific stats. At the moment the kernel only supports
> MPLS AF stats, so that is all that's implemented here.
> 
> The print_num function is exposed from ipaddress.c to be used for
> printing the new stats so that the human-readable option, if set, can
> be respected.
> 
> Example of use:
> 
>     $ ./ip/ip -f mpls link afstats dev eth1
>     3: eth1
>         mpls:
>             RX: bytes  packets  errors  dropped  noroute
>             9016       98       0       0        0
>             TX: bytes  packets  errors  dropped
>             7232       113      0       0
> 
> Signed-off-by: Robert Shearman <rshearma@...cade.com>

Applied

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ