Re: About ether_output() function in if_etheresubr.c

2015-03-17 Thread Albert Huang
Hi, Daniel, Thanks for your reply. After digging more into it, PC does not receive ARP reply from RTEMS. That's the problem of device driver for sure, and I'll try to debug it tomorrow when I go to work. But my question is the two ether_output() in a row. It looks like that the ICMP packet was se

Re: About ether_output() function in if_etheresubr.c

2015-03-17 Thread Daniel Hellstrom
Hello Albert, Please provide more information about the order and content of the packets being transferred. My guess is that the following would happen: 1. PC sends to broadcast: ARP request for RTEMS IP 2. RTEMS responds PC: ARP reply 3. PC sends to RTEMS: PING request 4. RTEMS sends to br

About ether_output() function in if_etheresubr.c

2015-03-16 Thread Albert Chun-Chieh Huang
Hi, all, I'm currently working on adding a network device driver to rtems. The source tree was grabbed on July, 2014. It's still not working properly right now. But I have some questions about the network stack code. I added printf function in if_etheresubr.c in the directory cpukit/libnetworking