diff options
| author | Richard Alpe <[email protected]> | 2016-08-18 08:33:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-19 06:36:07 +0000 |
| commit | b34040227be7da760cc72ef3c807e0985e7f0f16 (patch) | |
| tree | 19043619527b69595286b449bc132201de8ac08d /net/tipc/net.h | |
| parent | tcp: refine tcp_prune_ofo_queue() to not drop all packets (diff) | |
| download | kernel-b34040227be7da760cc72ef3c807e0985e7f0f16.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jon Maloy <[email protected]>
Acked-by: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/net.h')
| -rw-r--r-- | net/tipc/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index 77a7a118911d..c7c254902873 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h @@ -39,6 +39,8 @@ #include <net/genetlink.h> +extern const struct nla_policy tipc_nl_net_policy[]; + int tipc_net_start(struct net *net, u32 addr); void tipc_net_stop(struct net *net); |
