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