public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Alok Singh" <aloks@broadcom.com>
To: <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS]: Free BSD stack -
Date: Sun, 20 May 2007 16:52:00 -0000	[thread overview]
Message-ID: <FE7FB54DCB7C6949A1D3F9FF22DA6C13579EC7@lvl7in-mail01.lvl7.com> (raw)
In-Reply-To: <b48951870705191524j6db71d08ge93e7628a4ae2877@mail.gmail.com>


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

  reply	other threads:[~2007-05-20 15:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-20 15:57 [ECOS] how to booting the redboot on VMware xiaolu zhao
2007-05-20 16:52 ` Alok Singh [this message]
     [not found] ` <BAY137-F12CDC5DCEA82FB525CC6C9DF300@phx.gbl>
2007-05-22 21:43   ` xiaolu zhao
2007-05-23  1:36     ` jiang jet
2007-05-24 13:19       ` xiaolu zhao
2007-05-24 23:20         ` Gary Thomas
2007-05-25 17:30           ` xiaolu zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FE7FB54DCB7C6949A1D3F9FF22DA6C13579EC7@lvl7in-mail01.lvl7.com \
    --to=aloks@broadcom.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).