Skip to content

Refactoring for monitoring utils

Vadim Kochan netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Changes from the cover letter

1) Added #define for nlmsg_type = 15 which is used for log timestamp within nlmsg for monitoring tools.

2) Using one function to print timestamp from nlmsg for ip/bridge monitor tools.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add define for nlmsg_types with timestampbridge/monitor.c include/libnetlink.h ip/ipmonitor.c +1 more+7 -50 replies
2/2Use one func to print timestamp from nlmsgbridge/monitor.c include/utils.h ip/ipmonitor.c +1 more+15 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2 0/2] Refactoring for monitoring utils

From: Vadim Kochan <[email protected]>

This series is just about refactoring for bridge/ip/rtmon monitoring tools.

Changes:
1) Added #define for nlmsg_type = 15 which is used for log timestamp within nlmsg for monitoring tools.

2) Using one function to print timestamp from nlmsg for ip/bridge monitor tools.

Vadim Kochan (2):
Add define for nlmsg_types with timestamp
Use one func to print timestamp from nlmsg

 bridge/monitor.c     | 18 +++---------------
 include/libnetlink.h |  4 ++++
 include/utils.h      |  2 ++
 ip/ipmonitor.c       |  9 ++-------
 ip/rtmon.c           |  2 +-
 lib/utils.c          | 10 ++++++++++
 6 files changed, 22 insertions(+), 23 deletions(-)
Signature · 1 line
2.1.3