Problem with TCP socket on RTEMS 4.8.1 (ARM BSP)

Alex Zolotov nightradio at
Mon Sep 1 05:41:40 UTC 2008

Thank you.
It seems, that problem same as described by Gene Smith ( in his post
"Little Endian ARM fails on 1st TCP datagram". The reason is that BYTE_ORDER
BIG_ENDIAN defined during compiling TCP functions.

On Fri, Aug 29, 2008 at 9:47 AM, Joel Sherrill <joel.sherrill at>wrote:

> It is late and I don't know the message offhand.  But it is
> coming from netinet/tcp_debug.c so you can read the code
> and see what you think.  There are only a few calls to tcp_trace
> and if you have to put a print at all of the TA_DROP invocations
> you might learn something.
> My gut feeling is that the toolset got better between the two
> points and maybe optimized away something that should really
> be marked volatile.
> The fact you are getting packets at all says mostly it is working.
> Hopefully the pointer I gave will help you see what is not
> getting set correctly in the incoming packet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list