rpma_conn_apply_remote_peer_cfg3
Apply remote peer cfg to the connection
Usage
#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);
Overview
rpma_conn_apply_remote_peer_cfg() applies the remote peer configuration to the connection.
Return value
The rpma_conn_apply_remote_peer_cfg() function returns 0 on success or a negative error code on failure. rpma_conn_apply_remote_peer_cfg() does not set *pcfg value on failure.
Errors
rpma_conn_apply_remote_peer_cfg() can fail with the following error:
- •
-
RPMA_E_INVAL - conn or pcfg are NULL
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.