rpma_conn_req_get_private_data(3)

rpma_conn_req_get_private_data3

Get a pointer to the request's private data

Usage

      #include <librpma.h>
      struct rpma_conn_req;
      struct rpma_conn_private_data;
      int rpma_conn_req_get_private_data(const struct rpma_conn_req *req,
                      struct rpma_conn_private_data *pdata);

Overview

rpma_conn_req_get_private_data() obtains the pointer to the connection's private data given by the other side of the connection before the connection is established.

Security warning

See rpma_conn_get_private_data(3).

Return value

The rpma_conn_req_get_private_data() function returns 0 on success or a negative error code on failure. rpma_conn_req_get_private_data() does not set *pdata value on failure.

Errors

rpma_conn_req_get_private_data() can fail with the following error:

•

RPMA_E_INVAL - req or pdata is NULL

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.