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 Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f96ce7a20d
commit
ae36342b50
@@ -49,6 +49,7 @@ enum {
|
||||
TIPC_NL_PUBL_GET,
|
||||
TIPC_NL_LINK_GET,
|
||||
TIPC_NL_LINK_SET,
|
||||
TIPC_NL_LINK_RESET_STATS,
|
||||
|
||||
__TIPC_NL_CMD_MAX,
|
||||
TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
|
||||
|
Reference in New Issue
Block a user