On 11/08/2010 03:40 PM, Or Gerlitz wrote:
On Mon, Nov 8, 2010 at 11:14 PM, Mike Christie<micha...@cs.wisc.edu> wrote:
For ipv6, you need to do something like
if (ib_conn->cma_id->route.addr.dst_addr.ss_family == AF_INET)
// do ipv4 like you did above
else if (ib_conn->cma_id->route.addr.dst_addr.ss_family == AF_INET6)
// do ipv6 - use struct sockaddr_in6 and %pI6
yep, so what's your thinkinh here, should I be moving the code from
iscsi_tcp or libiscsi_tcp that does that into libiscsi or copy it into
I think making a libiscsi function would be fine. Have it take a struct
sockaddr_storage and a iscsi_conn and do the checks and sprintfs for you.
Just convert iser. I can convert iscsi_tcp for you.
You received this message because you are subscribed to the Google Groups
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at