rpma_conn_apply_remote_peer_cfg(3) | RPMA Programmer's Manual | rpma_conn_apply_remote_peer_cfg(3) |
rpma_conn_apply_remote_peer_cfg - apply remote peer cfg to the connection
#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);
rpma_conn_apply_remote_peer_cfg() applies the remote peer configuration to the connection.
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.
rpma_conn_apply_remote_peer_cfg() can fail with the following error:
rpma_conn_req_connect(3), rpma_peer_cfg_new(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |