]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: introduce group multicast messaging
authorJon Maloy <jon.maloy@ericsson.com>
Fri, 13 Oct 2017 09:04:29 +0000 (11:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 15:46:01 +0000 (08:46 -0700)
commitfcd953350863593a2ddc29dcf2878412fdee2783
treeed36b50ef06a7162d3b71ccbb54fbf3236227562
parent1ca8df1f1e25495e18afd6cef1124a779f6980cf
tipc: introduce group multicast messaging

The previously introduced message transport to all group members is
based on the tipc multicast service, but is logically a broadcast
service within the group, and that is what we call it.

We now add functionality for sending messages to all group members
having a certain identity. Correspondingly, we call this feature 'group
multicast'. The service is using unicast when only one destination is
found, otherwise it will use the bearer broadcast service to transfer
the messages. In the latter case, the receiving members filter arriving
messages by looking at the intended destination instance. If there is
no match, the message will be dropped, while still being considered
received and read as seen by the flow control mechanism.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/group.c
net/tipc/msg.h
net/tipc/socket.c