aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/monitor.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/tipc/monitor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/tipc/monitor.h b/net/tipc/monitor.h
index 598459cbed5d..2a21b93e0d04 100644
--- a/net/tipc/monitor.h
+++ b/net/tipc/monitor.h
@@ -36,6 +36,8 @@
#ifndef _TIPC_MONITOR_H
#define _TIPC_MONITOR_H
+#include "netlink.h"
+
/* struct tipc_mon_state: link instance's cache of monitor list and domain state
* @list_gen: current generation of this node's monitor list
* @gen: current generation of this node's local domain
@@ -69,5 +71,12 @@ 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);
+int tipc_nl_monitor_get_threshold(struct net *net);
+int __tipc_nl_add_monitor(struct net *net, struct tipc_nl_msg *msg,
+ u32 bearer_id);
+int tipc_nl_add_monitor_peer(struct net *net, struct tipc_nl_msg *msg,
+ u32 bearer_id, u32 *prev_node);
+
extern const int tipc_max_domain_size;
#endif