[netperf-talk] configure SCTP error
Rick Jones
rick.jones2 at hp.com
Wed Feb 1 12:10:32 PST 2006
Jon Pedersen wrote:
> Hi!
>
> Thanx for helping me! I'm running netperf on Suse 9.3 with the
> 2.6.15-default kernel.
>
> $ find /usr/include -exec grep -l MSG_EOF {} \; gave me:
> /usr/include/linux/socket.h
>
> and
>
> $ find /usr/include -exec grep -Hn MSG_EOF {} \; gave me:
> /usr/include/linux/socket.h:239:#define MSG_EOF MSG_FIN
>
> It seems like MSG_EOF is not declared in my sctp.h, and MSG_EOF =
> MSG_FIN is not declared.
> I am able to configure netperf with SCTP on an another machine running
> Suse 9.3 with kernel 2.6.11.4-20a-default, and both the commands
> above gave me the same results, running on this machine.
> May I hardcode the right value into MSG_EOF some place?
I'd go ahead and give that a try. It can't hurt. If it works then I will put
something like that into the mainline
#ifndef MSG_EOF
#ifdef MSG_FIN
#define MSG_EOF MSG_FIN
#else
#error Must have either MSG_EOF or MSG_FIN defined
#endif
#endif
More information about the netperf-talk
mailing list