RDMA_LEAVE_MULTICAST(3)
π rdma_leave_multicast β bestie, we're LEAVING π
okay so this is rdma_leave_multicast(3) from the Librdmacm Programmer's Manual, and it's giving "exit the group chat, gracefully, with your head held high" energy. no cap.
πΈ NAME πΈ
rdma_leave_multicast β leaves a multicast group. that's it. that's the whole vibe. say bye bestie π
β¨ SYNOPSIS β¨
#include <rdma/rdma_cma.h>
int rdma_leave_multicast (struct rdma_cm_id *id, struct sockaddr *addr);
two args, one exit, zero drama (hopefully).
π ARGUMENTS π
idβ the communication identifier that's associated with the request. it's the lil handle that knows who you are and what you're up to π«Άaddrβ the multicast address that identifies the group you're about to leave. yeah, you gotta name names. we're pointing at the group and going "not you anymore" π
π¦ DESCRIPTION π¦
so what does it actually do? it leaves a multicast group, and it detaches an associated QP from that group. that's the whole thing. you were in, now you're out, and your QP is coming with you. main character exit, honestly π
β RETURN VALUE β
- returns
0on success π β slay, you left - returns
-1on error π β and if that happens,errnogets set to indicate the failure reason, so go read it, it's literally telling you what went wrong
π NOTES π
- calling this function before a group has been fully joined? that results in canceling the join operation. so it's not a no-op, it's a "never mind, actually" π
- important, listen up: users should be aware that messages received from the multicast group may still be queued for completion processing immediately after leaving a multicast group. so likeβ¦ you left the party but your texts are still arriving. don't be surprised, bestie π₯
- destroying an
rdma_cm_idwill automatically leave all multicast groups. so if you're feeling lazy, that's your cleanup era β¨
π SEE ALSO π
rdma_join_multicast(3)β the other half of this situationshiprdma_destroy_qp(3)β when you need the QP gone gone
that's the whole page, you ate it, periodt π β¨
sign-off szn: this was librdmacm, dated 2007-05-15, and the page is RDMA_LEAVE_MULTICAST(3) β mwah, go leave a multicast group responsibly ππ¦π
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- arch rolling: rdma-core 65.0-1 Β· GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-MIT AND GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-FreeBSD AND GPL-2.0-or-later OR LicenseRef-Intel-BSD-3-Clause AND GPL-2.0-or-later OR LicenseRef-PathScale-BSD-Patent-License AND CC0-1.0 AND MIT AND BSD-2-Clause AND CPL-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- debian bookworm: librdmacm-dev 44.0-2 Β· BSD-MIT OR GPL-2.0-only
- debian trixie: librdmacm-dev 56.1-1 Β· BSD-MIT OR GPL-2.0-only
- fedora 43: rdma-core-devel 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 43: rdma-core-devel 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: rdma-core-devel 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixos 26.05: rdma-core 62.0
- nixpkgs unstable: rdma-core 65.0
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- opensuse-leap 16.0: rdma-core-devel 56.1-160000.2.2 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu jammy: librdmacm-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- ubuntu noble: librdmacm-dev 50.0-2build2 Β· BSD-MIT OR GPL-2.0-only
- ubuntu noble: librdmacm-dev 50.0-2ubuntu0.2 Β· BSD-MIT OR GPL-2.0-only
- ubuntu questing: librdmacm-dev 56.1-1ubuntu1
- ubuntu resolute: librdmacm-dev 61.0-2ubuntu3 Β· BSD-MIT OR GPL-2.0-only
- ubuntu stonking: librdmacm-dev 64.0-1ubuntu1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms