1RDMA_GET_REQUEST(3)      Librdmacm Programmer's Manual     RDMA_GET_REQUEST(3)
2
3
4

NAME

6       rdma_get_request - Retrieves the next pending connection request event.
7

SYNOPSIS

9       #include <rdma/rdma_cma.h>
10
11       int  rdma_get_request  (struct  rdma_cm_id  *listen,  struct rdma_cm_id
12       **id);
13

ARGUMENTS

15       listen      Listening rdma_cm_id.
16
17       id          rdma_cm_id associated with the new connection.
18

DESCRIPTION

20       Retrieves a connection request event.  If no requests are pending,  the
21       call will block until an event is received.
22

RETURN VALUE

24       Returns  0  on success, or -1 on error.  If an error occurs, errno will
25       be set to indicate the failure reason.
26

NOTES

28       This call may only be used on  listening  rdma_cm_id's  operating  syn‐
29       chronously.   On  success, a new rdma_cm_id representing the connection
30       request will be returned to the user.  The new rdma_cm_id  will  refer‐
31       ence event information associated with the request until the user calls
32       rdma_reject, rdma_accept, or rdma_destroy_id on the newly created iden‐
33       tifier.  For a description of the event data, see rdma_get_cm_event.
34
35       If  QP  attributes  are  associated  with  the  listening endpoint, the
36       returned rdma_cm_id will also reference an allocated QP.
37

SEE ALSO

39       rdma_get_cm_event(3), rdma_accept(3), rdma_reject(3),  rdma_connect(3),
40       rdma_listen(3), rdma_destroy_id(3)
41
42
43
44librdmacm                         2007-10-31               RDMA_GET_REQUEST(3)
Impressum