rdma_get_dst_port
Returns the remote port number of the associated identifier.
Syntax
#include <rdma/rdma_cma.h>
uint16_t rdma_get_dst_port(struct rdma_cm_id *id)
Description
The rdma_get_dst_port function
returns the remote port number for an rdma_cm_id
identifier
that is associated with a remote address.
Parameters
Item | Description |
---|---|
id | Specifies the connection identifier that is associated with the request. |
Return Values
The rdma_get_dst_port function
returns the 16-bit port identifier associated with the peer endpoint.
If the rdma_cm_id
is not connected, the returned
value is 0.