1RDMA_BIND_ADDR(3) Librdmacm Programmer's Manual RDMA_BIND_ADDR(3)
2
3
4
6 rdma_bind_addr - Bind an RDMA identifier to a source address.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_bind_addr (struct rdma_cm_id *id, struct sockaddr *addr);
12
14 id RDMA identifier.
15
16 addr Local address information. Wildcard values are permitted.
17
19 Associates a source address with an rdma_cm_id. The address may be
20 wildcarded. If binding to a specific local address, the rdma_cm_id
21 will also be bound to a local RDMA device.
22
24 Typically, this routine is called before calling rdma_listen to bind to
25 a specific port number, but it may also be called on the active side of
26 a connection before calling rdma_resolve_addr to bind to a specific
27 address.
28
29 If used to bind to port 0, the rdma_cm will select an available port,
30 which can be retrieved with rdma_get_src_port(3).
31
33 rdma_create_id(3), rdma_listen(3), rdma_resolve_addr(3), rdma_cre‐
34 ate_qp(3), rdma_get_local_addr(3), rdma_get_src_port(3)
35
36
37
38librdmacm 2007-05-15 RDMA_BIND_ADDR(3)