]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/ofed/librdmacm/man/rdma_get_local_addr.3
MFV r362143:
[FreeBSD/FreeBSD.git] / contrib / ofed / librdmacm / man / rdma_get_local_addr.3
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
3 .SH NAME
4 rdma_get_local_addr \- Returns the local IP address of a bound rdma_cm_id.
5 .SH SYNOPSIS
6 .B "#include <rdma/rdma_cma.h>"
7 .P
8 .B "struct sockaddr *" rdma_get_local_addr
9 .BI "(struct rdma_cm_id *" id ");"
10 .SH ARGUMENTS
11 .IP "id" 12
12 RDMA identifier.
13 .SH "DESCRIPTION"
14 Returns the local IP address for an rdma_cm_id that has been bound to
15 a local device.
16 .SH "RETURN VALUE"
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.
20 .SH "SEE ALSO"
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)