aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/monitor.h
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2016-07-26 08:47:19 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-26 14:26:42 -0700
commit7b3f52296493656015f0c0deddb6e90e36b9cda2 (patch)
tree08a395cd2b131c0b64e3e96d1c9e543ff6d9dfd0 /net/tipc/monitor.h
parenttipc: introduce constants for tipc address validation (diff)
downloadlinux-dev-7b3f52296493656015f0c0deddb6e90e36b9cda2.tar.xz
linux-dev-7b3f52296493656015f0c0deddb6e90e36b9cda2.zip
tipc: make cluster size threshold for monitoring configurable
In this commit, we introduce support to configure the minimum threshold to activate the new link monitoring algorithm. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/monitor.h b/net/tipc/monitor.h
index 598459cbed5d..91f5dd09432b 100644
--- a/net/tipc/monitor.h
+++ b/net/tipc/monitor.h
@@ -69,5 +69,6 @@ void tipc_mon_get_state(struct net *net, u32 addr,
int bearer_id);
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);
extern const int tipc_max_domain_size;
#endif