]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: Add a new family of commands, "stats"
authorPetr Machata <petrm@nvidia.com>
Fri, 22 Apr 2022 08:30:52 +0000 (10:30 +0200)
committerDavid Ahern <dsahern@kernel.org>
Thu, 28 Apr 2022 02:12:42 +0000 (20:12 -0600)
commit54d82b0699a07b1af32a46e229ed37331e38d3a2
treeaaa0d802215dcb6b9b3110348941431a9e6a6151
parent5520cf1603bacdc9fdafa119e8bf4a35ad57fefc
ip: Add a new family of commands, "stats"

Add a core of a new frontend tool for interfacing with the RTM_*STATS
family of messages. The following patches will add subcommands for showing
and setting individual statistics suites.

Note that in this patch, "ip stats" is made to be an invalid command line.
This will be changed in later patches to default to "show" when that is
introduced.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/Makefile
ip/ip.c
ip/ip_common.h
ip/ipstats.c [new file with mode: 0644]