]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ofed/librdmacm/man/rdma_listen.3
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ofed / librdmacm / man / rdma_listen.3
1 .TH "RDMA_LISTEN" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
2 .SH NAME
3 rdma_listen \- Listen for incoming connection requests.
4 .SH SYNOPSIS
5 .B "#include <rdma/rdma_cma.h>"
6 .P
7 .B "int" rdma_listen
8 .BI "(struct rdma_cm_id *" id ","
9 .BI "int " backlog ");"
10 .SH ARGUMENTS
11 .IP "id" 12
12 RDMA identifier.
13 .IP "backlog" 12
14 backlog of incoming connection requests.
15 .SH "DESCRIPTION"
16 Initiates a listen for incoming connection requests or datagram service
17 lookup.  The listen will be restricted to the locally bound source
18 address.
19 .SH "NOTES"
20 Users must have bound the rdma_cm_id to a local address by calling
21 rdma_bind_addr before calling this routine.  If the rdma_cm_id is
22 bound to a specific IP address, the listen will be restricted to that
23 address and the associated RDMA device.  If the rdma_cm_id is bound
24 to an RDMA port number only, the listen will occur across all RDMA
25 devices.
26 .SH "SEE ALSO"
27 rdma_cm(7), rdma_bind_addr(3), rdma_connect(3), rdma_accept(3), rdma_reject(3),
28 rdma_get_cm_event(3)