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

NAME

6       rdma_get_local_addr   -  Returns  the  local  IP  address  of  a  bound
7       rdma_cm_id.
8

SYNOPSIS

10       #include <rdma/rdma_cma.h>
11
12       struct sockaddr * rdma_get_local_addr (struct rdma_cm_id *id);
13

ARGUMENTS

15       id          RDMA identifier.
16

DESCRIPTION

18       Returns the local IP address for an rdma_cm_id that has been bound to a
19       local device.
20

RETURN VALUE

22       Returns  a pointer to the local sockaddr address of the rdma_cm_id.  If
23       the rdma_cm_id is not bound to an address, the contents of the sockaddr
24       structure will be set to all zeroes.
25

SEE ALSO

27       rdma_bind_addr(3),      rdma_resolve_addr(3),     rdma_get_src_port(3),
28       rdma_get_dst_port(3), rdma_get_peer_addr(3)
29
30
31
32librdmacm                         2007-05-15            RDMA_GET_LOCAL_ADDR(3)
Impressum