History

tipc: add link stat reset to new netlink api

Add TIPC_NL_LINK_RESET_STATS command to the new netlink API. This command resets the link statistics for a particular link. Netlink logical layout of link reset message: -> link -> name

Richard Alpe committed 11 years ago

Commit ae363421 parent f96ce7a4 files · +56 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/tipc_netlink.h+1−0
@@ -49,6 +49,7 @@ enum { · 48 unmodified lines
4949 TIPC_NL_PUBL_GET,
5050 TIPC_NL_LINK_GET,
5151 TIPC_NL_LINK_SET,
52+ TIPC_NL_LINK_RESET_STATS,
5253
5354 __TIPC_NL_CMD_MAX,
5455 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1