This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
problems in sending and receiving packets
- From: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- To: "\"ecos-mailing-list\"" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 29 May 2003 15:51:30 +0530
- Subject: [ECOS] problems in sending and receiving packets
I have been facing problems in sending and receiving packets with eCos. I
have booted one Intelx86 machine with RedBoot. At RedBoot prompt, I executed
following command:
ip_address -l 10.10.3.64
After this if I ping to above address from some machine, I do receive echo
replies. Later I load the eCos image with one application using
i386-elf-gdb(from another Intelx86 machine) and executed follwing command at
gdb prompt:
target remote 10.10.3.64:9000
then I load the image using *load* command at gdb prompt. Interface
initialisation goes fine. But the application fails to bind to address
10.10.3.64
When I ping to 10.10.3.64 from some other machine, I receive echo reply. I
am wondering, who is replying? eCos or RedBoot !!! Even if I try to send any
packet using ether_output_frame, where I build entire packet including
ethernet header, packet is not going out. I am able to get a valid pointer
through function ifunit for eth0. I am not able to receive any packets
either. I am purplexed what is happening. Can somebody explain this? Thanks
in advance.
Regards
Mohanlal Jangir
IIT DELHI(INDIA)
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss