summaryrefslogtreecommitdiffstats
path: root/net/tipc/node.h
diff options
context:
space:
mode:
authorRichard Alpe2016-08-18 10:33:52 +0200
committerDavid S. Miller2016-08-19 08:36:07 +0200
commitb34040227be7da760cc72ef3c807e0985e7f0f16 (patch)
tree19043619527b69595286b449bc132201de8ac08d /net/tipc/node.h
parenttcp: refine tcp_prune_ofo_queue() to not drop all packets (diff)
downloadkernel-qcow2-linux-b34040227be7da760cc72ef3c807e0985e7f0f16.tar.gz
kernel-qcow2-linux-b34040227be7da760cc72ef3c807e0985e7f0f16.tar.xz
kernel-qcow2-linux-b34040227be7da760cc72ef3c807e0985e7f0f16.zip
tipc: add peer removal functionality
Add TIPC_NL_PEER_REMOVE netlink command. This command can remove an offline peer node from the internal data structures. This will be supported by the tipc user space tool in iproute2. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.h')
-rw-r--r--net/tipc/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/node.h b/net/tipc/node.h
index d69fdfcc0ec9..4578b34c7dca 100644
--- a/net/tipc/node.h
+++ b/net/tipc/node.h
@@ -77,6 +77,7 @@ int tipc_nl_node_dump_link(struct sk_buff *skb, struct netlink_callback *cb);
int tipc_nl_node_reset_link_stats(struct sk_buff *skb, struct genl_info *info);
int tipc_nl_node_get_link(struct sk_buff *skb, struct genl_info *info);
int tipc_nl_node_set_link(struct sk_buff *skb, struct genl_info *info);
+int tipc_nl_peer_rm(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);