rdma_get_local_addr

Returns the local IP address of the associated identifier.

Syntax

#include <rdma/rdma_cma.h>
struct sockaddr *rdma_get_local_addr(struct rdma_cm_id *id)

Description

The rdma_get_local_addr function returns the local IP address for an rdma_cm_id identifier that is associated with a local device.

Parameters

Item Description
id Specifies the RDMA identifier.

Return Values

The rdma_get_local_addr function returns the local IP address for an rdma_cm_id identifier that has been bound with a local device.