]> git.openfabrics.org - ~shefty/librdmacm.git/commit
librdmacm: Support using GIDs with rdma_getaddrinfo
authorSean Hefty <sean.hefty@intel.com>
Tue, 28 Aug 2012 19:33:04 +0000 (12:33 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 29 Aug 2012 00:41:33 +0000 (17:41 -0700)
commit18d69c3cdab541f9f0f52070c32926a5ca6ac79f
tree0639a2332527fbc85555a1f2047c362495e8ec1e
parenta7ae817991416863772d28d97839ee8daeefb07e
librdmacm: Support using GIDs with rdma_getaddrinfo

Allow the user to specify a GID as the node parameter into
rdma_getaddrinfo.

To distinguish between the node being an IPv6 address or a GID,
we add a new flag, RAI_FAMILY, which can be set as part of the
hints to rdma_getaddrinfo.  When set, this flag indicates that the
value of ai_family in the hints should be used when interpretting
the node parameter.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
examples/cmatose.c
include/rdma/rdma_cma.h
man/rdma_getaddrinfo.3
man/ucmatose.1
src/acm.c
src/addrinfo.c
src/cma.c
src/cma.h