From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31330 invoked by alias); 20 May 2007 15:57:12 -0000 Received: (qmail 31314 invoked by uid 22791); 20 May 2007 15:57:10 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.lvl7.com (HELO lvl7-trend01.lvl7.com) (66.192.95.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 20 May 2007 15:57:06 +0000 Received: from lvl7in-mail01.lvl7.com ([10.240.1.18]) by lvl7-trend01.lvl7.com with InterScan VirusWall; Sun, 20 May 2007 11:57:01 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sun, 20 May 2007 16:52:00 -0000 Message-ID: References: From: "Alok Singh" To: Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS]: Free BSD stack - X-SW-Source: 2007-05/txt/msg00098.txt.bz2 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.=20 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. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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