Returns the remote IP address of a bound rdma_cm_id.
#include <rdma/rdma_cma.h> struct sockaddr *rdma_get_peer_addr(struct rdma_cm_id *id)
The rdma_get_peer_addr function returns the remote IP address associated with an rdma_cm_id.
id | Specifies the RDMA identifier. |
local port number | On success. |
0 | The error occurs if the id is NULL. |