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

NAME

6       rdma_get_peer_addr   -  Returns  the  remote  IP  address  of  a  bound
7       rdma_cm_id.
8

SYNOPSIS

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

ARGUMENTS

15       id          RDMA identifier.
16

DESCRIPTION

18       Returns the remote IP address associated with an rdma_cm_id.
19

RETURN VALUE

21       Returns a pointer to the sockaddr address of the  connected  peer.   If
22       the rdma_cm_id is not connected, the contents of the sockaddr structure
23       will be set to all zeroes.
24

SEE ALSO

26       rdma_resolve_addr(3),    rdma_get_src_port(3),    rdma_get_dst_port(3),
27       rdma_get_local_addr(3)
28
29
30
31librdmacm                         2007-05-15             RDMA_GET_PEER_ADDR(3)
Impressum