rdma_leave_multicast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rdma_leave_multicast(9) β€” from the Kernel API Manual, bestie ✨

Okay so picture this: you're deep in the kernel, you've got your RDMA connection manager stuff going on, and you need to leave a multicast group. Like, you joined, it was cute, it's over now. This is that function. πŸ¦‹ It lives in <cyan>Kernel API Manual</cyan>, section 9, and it's giving very "quietly essential" energy.


✨ NAME ✨

rdma_leave_multicast β€” dip out of the multicast group that the given address points at. Not me explaining the whole thing in the title, but here we are πŸ™ˆ


🌸 SYNOPSIS 🌸

void rdma_leave_multicast (struct rdma_cm_id *id , struct sockaddr *addr
);

Notice the void β€” she returns nothing. No status, no hint about how it went, nothing. Iconic but also terrifying, iykyk πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” -- undescribed -- yeah so the docs literally do not describe this one 😭 it's a struct rdma_cm_id *, that's all we get, that is the whole vibe.
  • addr β€” -- undescribed -- also flying fully undocumented fr fr. It's a struct sockaddr * and the NAME section tells you it's the multicast group address. That's the tea πŸ“
Real talk bestie: both of these are marked -- undescribed -- in the source docs. I'm not gonna sit here and invent lore for them, that would be lying to you and we don't do that πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Sourced from the kernel file ./include/rdma/rdma_cm.h β€” and she brought her whole friend group:

rdma_create_id(9), rdma_destroy_id(9), rdma_restrict_node_type(9), rdma_bind_addr(9), rdma_resolve_addr(9), rdma_resolve_route(9), rdma_resolve_ib_service(9), rdma_create_qp(9), rdma_destroy_qp(9), rdma_init_qp_attr(9), rdma_listen(9), rdma_notify(9), rdma_reject(9), rdma_disconnect(9), rdma_join_multicast(9), rdma_set_service_type(9), rdma_set_reuseaddr(9), rdma_set_afonly(9), rdma_reject_msg(9), rdma_consumer_reject_data(9), rdma_read_gids(9)

The way rdma_join_multicast(9) is right there in the list β€” that's her other half, the one you call to get in before you call this one to get out. Balanced. Symmetrical. Main character energy πŸ‘‘


πŸ’œ That's the whole page, no cap πŸ’œ Straight from ./include/rdma, dated October 2026. Slay, go leave that multicast group, I'm so proud of you πŸ«ΆπŸŽ€
πŸ“¦ where this page comes from