1RDMA_BIND_ADDR(3)        Librdmacm Programmer's Manual       RDMA_BIND_ADDR(3)
2
3
4

NAME

6       rdma_bind_addr - Bind an RDMA identifier to a source address.
7

SYNOPSIS

9       #include <rdma/rdma_cma.h>
10
11       int rdma_bind_addr (struct rdma_cm_id *id, struct sockaddr *addr);
12

ARGUMENTS

14       id          RDMA identifier.
15
16       addr        Local address information.  Wildcard values are permitted.
17

DESCRIPTION

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

RETURN VALUE

24       Returns  0  on success, or -1 on error.  If an error occurs, errno will
25       be set to indicate the failure reason.
26

NOTES

28       Typically, this routine is called before calling rdma_listen to bind to
29       a specific port number, but it may also be called on the active side of
30       a connection before calling rdma_resolve_addr to  bind  to  a  specific
31       address.
32
33       If  used  to bind to port 0, the rdma_cm will select an available port,
34       which can be retrieved with rdma_get_src_port(3).
35

SEE ALSO

37       rdma_create_id(3),  rdma_listen(3),   rdma_resolve_addr(3),   rdma_cre‐
38       ate_qp(3), rdma_get_local_addr(3), rdma_get_src_port(3)
39
40
41
42librdmacm                         2007-05-15                 RDMA_BIND_ADDR(3)
Impressum