aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.h
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <[email protected]>2016-07-26 06:47:22 +0000
committerDavid S. Miller <[email protected]>2016-07-26 21:26:42 +0000
commitcf6f7e1d51090772d5ff7355aaf0fcff17f20d1a (patch)
treef80b57ee326824ceda895bab95b821eb14b9b9d1 /net/tipc/node.h
parenttipc: add a function to get the bearer name (diff)
downloadkernel-cf6f7e1d51090772d5ff7355aaf0fcff17f20d1a.tar.gz
kernel-cf6f7e1d51090772d5ff7355aaf0fcff17f20d1a.zip
tipc: dump monitor attributes
In this commit, we dump the monitor attributes when queried. The link monitor attributes are separated into two kinds: 1. general attributes per bearer 2. specific attributes per node/peer This style resembles the socket attributes and the nametable publications per socket. Reviewed-by: Jon Maloy <[email protected]> Signed-off-by: Parthasarathy Bhuvaragan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.h')
-rw-r--r--net/tipc/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h
index 216f053b817f..d69fdfcc0ec9 100644
--- a/net/tipc/node.h
+++ b/net/tipc/node.h
@@ -80,4 +80,7 @@ int tipc_nl_node_set_link(struct sk_buff *skb, struct genl_info *info);
int tipc_nl_node_set_monitor(struct sk_buff *skb, struct genl_info *info);
int tipc_nl_node_get_monitor(struct sk_buff *skb, struct genl_info *info);
+int tipc_nl_node_dump_monitor(struct sk_buff *skb, struct netlink_callback *cb);
+int tipc_nl_node_dump_monitor_peer(struct sk_buff *skb,
+ struct netlink_callback *cb);
#endif