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/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.