RPMA_CONN_APPLY_REMOTE_PEER_CFG(3)
π rpma_conn_apply_remote_peer_cfg(3) π
okay bestie, welcome to the RPMA Programmer's Manual β yes we're really out here reading man pages for fun now, and honestly? iconic behavior. π
β¨ NAME β¨
rpma_conn_apply_remote_peer_cfg β apply remote peer cfg to the connection
like, you've got a remote peer's config and you need it to actually land on the connection. that's this function. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <librpma.h>
struct rpma_conn;
struct rpma_peer_cfg;
int rpma_conn_apply_remote_peer_cfg(struct rpma_conn *conn,
const struct rpma_peer_cfg *pcfg);
look at her. two structs, one function, zero drama. π¦
π DESCRIPTION π
rpma_conn_apply_remote_peer_cfg() applies the remote peer configuration to the connection.
that's it. that's the tea. you hand her a conn, you hand her a pcfg, and she goes ahead and applies that remote peer config right onto the connection. no cap. β¨
β RETURN VALUE β
so here's the rundown:
- π«Ά
rpma_conn_apply_remote_peer_cfg()returns0on success - π or a negative error code on failure
- π and listen β on failure,
rpma_conn_apply_remote_peer_cfg()does not set the*pcfgvalue. like, she just doesn't touch it. don't come for her about it.
π₯ ERRORS π₯
rpma_conn_apply_remote_peer_cfg() can fail with the following error:
RPMA_E_INVALβconnorpcfgareNULLπ
fr fr, if either of those isNULLyou're gettingRPMA_E_INVALand that's just how it is. vibe check your pointers before you call, bestie. π
π SEE ALSO π
and that's the page, babe! π
this whole thing comes to you from RPMA, dated 01 April 2024 β go read the other pages too, iykyk. mwah. πβ¨ππ¦πΈ
π¦ where this page comes from
- ubuntu noble: librpma-dev 1.3.0-2build2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms