Returns the remote port number of a bound rdma_cm_id.
#include <rdma/rdma_cma.h> uint16_t rdma_get_dst_port(struct rdma_cm_id *id)
The rdma_get_dst_port function returns the remote port number for an rdma_cm_id that has been bound to a remote address.
id | Specifies the connection identifier associated with the request. |
local port number | On success. |
0 | The error occurs if the id is NULL. |