1RDMA_GET_SRC_PORT(3)     Librdmacm Programmer's Manual    RDMA_GET_SRC_PORT(3)
2
3
4

NAME

6       rdma_get_src_port   -   Returns  the  local  port  number  of  a  bound
7       rdma_cm_id.
8

SYNOPSIS

10       #include <rdma/rdma_cma.h>
11
12       uint16_t rdma_get_src_port (struct rdma_cm_id *id);
13

ARGUMENTS

15       id          RDMA identifier.
16

DESCRIPTION

18       Returns the local port number for an rdma_cm_id that has been bound  to
19       a local address.
20

RETURN VALUE

22       Returns  the 16-bit port identifier associated with the local endpoint.
23       If the rdma_cm_id is not bound to a port, the returned value is 0.
24

SEE ALSO

26       rdma_bind_addr(3),     rdma_resolve_addr(3),      rdma_get_dst_port(3),
27       rdma_get_local_addr(3), rdma_get_peer_addr(3)
28
29
30
31librdmacm                         2007-05-15              RDMA_GET_SRC_PORT(3)
Impressum