1 .TH "RDMA_BIND_ADDR" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
3 rdma_bind_addr \- Bind an RDMA identifier to a source address.
5 .B "#include <rdma/rdma_cma.h>"
7 .B "int" rdma_bind_addr
8 .BI "(struct rdma_cm_id *" id ","
9 .BI "struct sockaddr *" addr ");"
14 Local address information. Wildcard values are permitted.
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.
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
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).
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)