summaryrefslogtreecommitdiff
path: root/net/tipc/monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/monitor.h')
-rw-r--r--net/tipc/monitor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tipc/monitor.h b/net/tipc/monitor.h
index aedf62c..2a21b93 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
@@ -71,6 +73,10 @@ 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