1RDMA_LEAVE_MULTICAST(3) Librdmacm Programmer's Manual RDMA_LEAVE_MULTICAST(3)
2
3
4
6 rdma_leave_multicast - Leaves a multicast group.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_leave_multicast (struct rdma_cm_id *id, struct sockaddr
12 *addr);
13
15 id Communication identifier associated with the request.
16
17 addr Multicast address identifying the group to leave.
18
20 Leaves a multicast group and detaches an associated QP from the group.
21
23 Returns 0 on success, or -1 on error. If an error occurs, errno will
24 be set to indicate the failure reason.
25
27 Calling this function before a group has been fully joined results in
28 canceling the join operation. Users should be aware that messages
29 received from the multicast group may stilled be queued for completion
30 processing immediately after leaving a multicast group. Destroying an
31 rdma_cm_id will automatically leave all multicast groups.
32
34 rdma_join_multicast(3), rdma_destroy_qp(3)
35
36
37
38librdmacm 2007-05-15 RDMA_LEAVE_MULTICAST(3)