1RDMA_LISTEN(3) Librdmacm Programmer's Manual RDMA_LISTEN(3)
2
3
4
6 rdma_listen - Listen for incoming connection requests.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_listen (struct rdma_cm_id *id, int backlog);
12
14 id RDMA identifier.
15
16 backlog backlog of incoming connection requests.
17
19 Initiates a listen for incoming connection requests or datagram service
20 lookup. The listen will be restricted to the locally bound source
21 address.
22
24 Returns 0 on success, or -1 on error. If an error occurs, errno will
25 be set to indicate the failure reason.
26
28 Users must have bound the rdma_cm_id to a local address by calling
29 rdma_bind_addr before calling this routine. If the rdma_cm_id is bound
30 to a specific IP address, the listen will be restricted to that address
31 and the associated RDMA device. If the rdma_cm_id is bound to an RDMA
32 port number only, the listen will occur across all RDMA devices.
33
35 rdma_cm(7), rdma_bind_addr(3), rdma_connect(3), rdma_accept(3),
36 rdma_reject(3), rdma_get_cm_event(3)
37
38
39
40librdmacm 2007-05-15 RDMA_LISTEN(3)