1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
2 .TH "RDMA_GET_LOCAL_ADDR" 3 "2007-05-15" "librdmacm" "Librdmacm Programmer's Manual" librdmacm
4 rdma_get_local_addr \- Returns the local IP address of a bound rdma_cm_id.
6 .B "#include <rdma/rdma_cma.h>"
8 .B "struct sockaddr *" rdma_get_local_addr
9 .BI "(struct rdma_cm_id *" id ");"
14 Returns the local IP address for an rdma_cm_id that has been bound to
17 Returns a pointer to the local sockaddr address of the rdma_cm_id. If
18 the rdma_cm_id is not bound to an address, the contents of the sockaddr
19 structure will be set to all zeroes.
21 rdma_bind_addr(3), rdma_resolve_addr(3), rdma_get_src_port(3),
22 rdma_get_dst_port(3), rdma_get_peer_addr(3)