]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/librdmacm/man/rdma_bind_addr.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / librdmacm / man / rdma_bind_addr.3
1 .TH "RDMA_BIND_ADDR" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
2 .SH NAME
3 rdma_bind_addr \- Bind an RDMA identifier to a source address.
4 .SH SYNOPSIS
5 .B "#include <rdma/rdma_cma.h>"
6 .P
7 .B "int" rdma_bind_addr
8 .BI "(struct rdma_cm_id *" id ","
9 .BI "struct sockaddr *" addr ");"
10 .SH ARGUMENTS
11 .IP "id" 12
12 RDMA identifier.
13 .IP "addr" 12
14 Local address information.  Wildcard values are permitted.
15 .SH "DESCRIPTION"
16 Associates a source address with an rdma_cm_id.  The address may be
17 wildcarded.  If binding to a specific local address, the rdma_cm_id
18 will also be bound to a local RDMA device.
19 .SH "NOTES"
20 Typically, this routine is called before calling rdma_listen to bind
21 to a specific port number, but it may also be called on the active side
22 of a connection before calling rdma_resolve_addr to bind to a specific
23 address.
24 .P
25 If used to bind to port 0, the rdma_cm will select an available port,
26 which can be retrieved with rdma_get_src_port(3).
27 .SH "SEE ALSO"
28 rdma_create_id(3), rdma_listen(3), rdma_resolve_addr(3), rdma_create_qp(3),
29 rdma_get_local_addr(3), rdma_get_src_port(3)