On Thu, 2009-09-17 at 08:10 +0300, Or Gerlitz wrote:
> David J. Wilder wrote:
> > I am not finding support for ipv6 in rping in the 1.5 beta.
> > What is the story for ipv6 support? Is it supported by librdma and
> > missing in rping? Is ipv6 in rping planed?
>
> rping supports IPv6 since last year, see the below commit
>
> Or.
>
> > commit 267c28a2f03b8fb63fa9907badd4130c710a1305
> > Author: Aleksey Senin <[email protected]>
> > Date: Thu Aug 14 08:01:58 2008 -0700
> >
> > rping: add ipv6 support
> >
> > Signed-off-by: Aleksey Senin <[email protected]>
> > Signed-off-by: Sean Hefty <[email protected]>
Humm, that explains it..
lidrdma in 1.5 contains librdmacm-1.0.8.tar.gz dated 31-Jul-2008 two
weeks before the change was checked in. librdma in 1.5 needs to be
updated.
from rping.c in the 1.5 source.
static int get_addr(char *dst, struct sockaddr_in *addr)
{
struct addrinfo *res;
int ret;
ret = getaddrinfo(dst, NULL, NULL, &res);
if (ret) {
printf("getaddrinfo failed - invalid hostname or IP
address\n");
return ret;
}
if (res->ai_family != PF_INET) { <<<<<
ret = -1;
goto out;
}
*addr = *(struct sockaddr_in *) res->ai_addr;
out:
freeaddrinfo(res);
return ret;
}
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg