RDMA_GET_REQUEST(3)
π RDMA_GET_REQUEST π
okay bestie, so you know rdma_get_request from the librdmacm programmer's manual? yeah. this is that. it grabs the next pending connection request event off your listening endpoint, and honestly? it's giving gatekeeper of the group chat. nothing gets in without it. π
β¨ NAME β¨
rdma_get_request β retrieves the next pending connection request event. literally that's the whole job. she's focused. π
πΈ SYNOPSIS πΈ
#include <rdma/rdma_cma.h>
int rdma_get_request (struct rdma_cm_id *listen, struct rdma_cm_id
**id);
π¦ ARGUMENTS π¦
listenβ your listeningrdma_cm_id. the one standing at the door with the clipboard. πidβ therdma_cm_idthat gets associated with the new connection. new bestie acquired fr fr.
π DESCRIPTION π
Retrieves a connection request event. that's it, that's the vibe.
and here's the important part, no cap: if no requests are pending, the call will block until an event is received. like, it will sit there. patiently. waiting. not moving. not texting back. just waiting for that event to show up. π
π₯ RETURN VALUE π₯
Returns 0 on success, or -1 on error. and if it errors out? errno will be set to indicate the failure reason. she always tells you what went wrong. icon behaviour. β¨
π NOTES π
- This call may only be used on listening
rdma_cm_id's operating synchronously. so don't try to be cute with it in async mode, bestie, she said what she said. π - On success, a new
rdma_cm_idrepresenting the connection request will be returned to the user. fresh id, fresh start. π - The new
rdma_cm_idwill reference event information associated with the request until the user callsrdma_reject,rdma_accept, orrdma_destroy_idon the newly created identifier. so like, that event info is your plus-one and it's staying until you officially wrap things up. don't leave it hanging. π«Ά - For a description of the event data, see
rdma_get_cm_event. (she has the lore. go read her.) π - If QP attributes are associated with the listening endpoint, the returned
rdma_cm_idwill also reference an allocated QP. cute little bonus package. π
β SEE ALSO β
rdma_get_cm_event(3)rdma_accept(3)rdma_reject(3)rdma_connect(3)rdma_listen(3)rdma_destroy_id(3)
okay that's the whole page, you ate that, go build something iconic π
this was brought to you by librdmacm, dated 2007-10-31 β yes she's been serving since 2007 and she's still main character energy. periodt. πβ¨
π¦ 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