Hi, I'm doing an ECOS port of my application software. I'm using Free BSD stack as my TCP/IP stack. I'm seeing one strange thing that packets coming out of stack are not in network byte order.
The packets are coming out of the stack in little endian format. See the logs below for an ARP request packet(dumping byte by byte). Can you think why this might be happening? Network stack always sends the packet out in network byte order, that is big-endian. =================== 0000 ff ff ff ff ff ff 00 10 18 82 0b c0 06 08 01 00 0010 00 08 06 04 01 00 00 10 18 82 0b c0 0a f0 03 a5 0020 00 00 00 00 00 00 0a f0 03 a5 00 00 =================== regards, Alok -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
