summaryrefslogtreecommitdiff
path: root/net/tipc/monitor.h
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2016-07-26 09:47:20 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-27 00:26:42 +0300
commitbf1035b2ff5296c7c49e262152253ce29d87e82d (patch)
treeab4aba8cf6b93c1787d60c077ff1fe9f95955509 /net/tipc/monitor.h
parent7b3f52296493656015f0c0deddb6e90e36b9cda2 (diff)
downloadlinux-bf1035b2ff5296c7c49e262152253ce29d87e82d.tar.xz
tipc: get monitor threshold for the cluster
In this commit, we add support to fetch the configured cluster monitoring threshold. Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/monitor.h')
-rw-r--r--net/tipc/monitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/monitor.h b/net/tipc/monitor.h
index 91f5dd09432b..aedf62c60bd3 100644
--- a/net/tipc/monitor.h
+++ b/net/tipc/monitor.h
@@ -70,5 +70,7 @@ void tipc_mon_get_state(struct net *net, u32 addr,
void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id);
int tipc_nl_monitor_set_threshold(struct net *net, u32 cluster_size);
+int tipc_nl_monitor_get_threshold(struct net *net);
+
extern const int tipc_max_domain_size;
#endif