RDMA_REJECT(3)
π RDMA_REJECT β bestie said no π
ok so like. this is a page from the Librdmacm Programmer's Manual (yes, RDMA_REJECT(3), that's the one) and it's about the moment when you have to be the one to say "not today" π no cap.
β¨ NAME β¨
rdma_reject β Called to reject a connection request.
literally it's the "hey bestie, respectfullyβ¦ no π«Ά" function.
π SYNOPSIS π
#include <rdma/rdma_cma.h>
int rdma_reject (struct rdma_cm_id *id, const void *private_data,
uint8_t private_data_len);
look at her. so simple. so iconic. π
πΈ ARGUMENTS πΈ
idβ Connection identifier associated with the request. it's giving "who is this diva asking to connect" energy πprivate_dataβ Optional private data to send with the reject message. optional!! you can just say no with zero explanation, that's valid too πprivate_data_lenβ Specifies the size of the user-controlled data buffer. Note that the actual amount of data transferred to the remote side is transport dependent and may be larger than that requested. so likeβ¦ the transport might over-share on your behalf, and there's nothing you can do about it π that's just how she is.
π DESCRIPTION π
Called from the listening side to reject a connection or datagram service lookup request.
so the listening side is the bouncer at the club, and rdma_reject is the "not on the list, sweetie" moment β¨
π₯ RETURN VALUE π₯
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
0 = slayed π
-1 = something went wrong and errno is holding the receipts, go read them fr fr.
β NOTES β
After receiving a connection request event, a user may call rdma_reject to reject the request. If the underlying RDMA transport supports private data in the reject message, the specified data will be passed to the remote side.
bestie the "if" is doing a LOT of work there β if the transport supports it, your private data goes through. if notβ¦ well. it does not. that's just the vibe check the transport gives you π
π¦ SEE ALSO π¦
the whole girl squad honestly π«Ά go read them too, they're all connected, iykyk.
librdmacm β 2007-05-15 β that's the vintage right there, she's been serving since '07 and she has not missed a day since. 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