]> git.openfabrics.org - ~ardavis/dapl.git/commit
ucm: modify IB address format to align better with sockaddr_in6
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 2 Oct 2009 19:47:37 +0000 (12:47 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 2 Oct 2009 19:47:37 +0000 (12:47 -0700)
commit9cc1e76b672f7ff1231b4d113bd4dd1a016d1410
tree29107eed28b0cfc3e19c427ac248116e953258ea
parentf50dbe6e82bd471845adf27829b2e07234a0a86a
ucm: modify IB address format to align better with sockaddr_in6

Restructure the dcm_addr union to map the IB side
closer to sockaddr6 and initialize family to
AF_INET6 to insure callee allocates enough memory
for ucm dat_ia_address type. Put qpn in flowinfo
and gid in sin6_addr. Change the test suites
to print address information based on AF_INET
or AF_INET6 instead of using specific IB address
union from the provider.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_common/dapl_ib_common.h
dapl/openib_scm/cm.c
dapl/openib_ucm/cm.c
dapl/openib_ucm/device.c
test/dtest/dtest.c
test/dtest/dtestcm.c
test/dtest/dtestx.c