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
49 TIPC_NL_PUBL_GET,49 TIPC_NL_PUBL_GET,
50 TIPC_NL_LINK_GET,50 TIPC_NL_LINK_GET,
51 TIPC_NL_LINK_SET,51 TIPC_NL_LINK_SET,
52 TIPC_NL_LINK_RESET_STATS,
52 53
53 __TIPC_NL_CMD_MAX,54 __TIPC_NL_CMD_MAX,
54 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 155 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1