diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2016-08-26 10:52:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-26 21:38:41 -0700 |
commit | ef20cd4dd1633987bcf46ac34ace2c8af212361f (patch) | |
tree | 016eff3257434db4f8ec7f8270d1dc981836c9a8 /net/tipc/netlink.c | |
parent | 1ca73e3fa12531bbbc854329cd02a887f986a02a (diff) | |
download | op-kernel-dev-ef20cd4dd1633987bcf46ac34ace2c8af212361f.zip op-kernel-dev-ef20cd4dd1633987bcf46ac34ace2c8af212361f.tar.gz |
tipc: introduce UDP replicast
This patch introduces UDP replicast. A concept where we emulate
multicast by sending multiple unicast messages to configured peers.
The purpose of replicast is mainly to be able to use TIPC in cloud
environments where IP multicast is disabled. Using replicas to unicast
multicast messages is costly as we have to copy each skb and send the
copies individually.
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/netlink.c')
-rw-r--r-- | net/tipc/netlink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c index 2718de6..3122f21 100644 --- a/net/tipc/netlink.c +++ b/net/tipc/netlink.c @@ -161,6 +161,11 @@ static const struct genl_ops tipc_genl_v2_ops[] = { .policy = tipc_nl_policy, }, { + .cmd = TIPC_NL_BEARER_ADD, + .doit = tipc_nl_bearer_add, + .policy = tipc_nl_policy, + }, + { .cmd = TIPC_NL_BEARER_SET, .doit = tipc_nl_bearer_set, .policy = tipc_nl_policy, |