[ofa-general] Re: initial set of "direct" SDP tests in netperf
Michael S. Tsirkin
mst at dev.mellanox.co.il
Wed Apr 25 21:58:55 PDT 2007
> Quoting Rick Jones <rick.jones2 at hp.com>:
> Subject: initial set of "direct" SDP tests in netperf
>
> >I guess that until it is resolved I'll just kludge around it with my own
> >define.
>
> Soo, I did a bunch of cut and paste in netperf, where I take what
> getaddrinfo() returns and replace the ->ai_family with AF_INET_SDP and
> set the ->ai_protocol to 0 (a guess since there isn't much in the way of
> docs on the subject I could find).
Please note that you should *only* ever stick the SDP family value
in the socket(3) call. All addresses for connect, bind etc
are AF_INET, since SDP uses IP addresses for everything.
--
MST
More information about the general
mailing list