On 6/9/25 19:05, Petr Machata wrote:
`ip stats' displays a range of bridge_slave-related statistics, but not
the VLAN stats. `bridge vlan' actually has code to show these. Extract the
code to libutil so that it can be reused between the bridge and ip stats
tools.

Rename them reasonably so as not to litter the global namespace.

Signed-off-by: Petr Machata <pe...@nvidia.com>
---

Notes:
     v2:
     - Add MAINTAINERS entry for the module

  MAINTAINERS      |  2 ++
  bridge/vlan.c    | 50 +++++-------------------------------------------
  include/bridge.h | 11 +++++++++++
  lib/Makefile     |  3 ++-
  lib/bridge.c     | 47 +++++++++++++++++++++++++++++++++++++++++++++
  5 files changed, 67 insertions(+), 46 deletions(-)
  create mode 100644 include/bridge.h
  create mode 100644 lib/bridge.c


Acked-by: Nikolay Aleksandrov <ra...@blackwall.org>

Reply via email to