On Mon, 2006-04-24 at 13:29 -0700, Sean Hefty wrote:
> Michael S. Tsirkin wrote:
> > Not sure how do you mean.
> > Listen without bind is equivalent to bind on any port, any address.
> > So why do you need address family?
> 
> The socket() call takes an address family as input.  Don't you still need to 
> know if you're listening on TCPv4 or TCPv6?

I think you do, and I think the types are AF_INET and AF_INET6. Right
now, although the interfaces are sockaddr's they become sockaddr_in by
the time you get to rdma_translate_ip. If we want to support IPv6 going
forward then I think you'll want to separate support at the top and
potentially have rdma_cm_id ops filled in the cm_id based on the address
family specified when the rdma_cm_id was created.
> 
> - Sean
> 
> _______________________________________________
> openib-general mailing list
> [email protected]
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to