Yes, I'm sending a ping from my PC to my embedded system running lwip. With no breakpoints set wireshark shows an ARP request going out and the ARP response returning from lwip. Then the PC sends an ICMP (ping request) to the embedded system. So the ARP response packet generated by lwip is correct. I was just puzzled because when I set the breakpoint the pbuf length is 1518?
________________________________________ John Kennedy Idaho Technology Inc. 390 Wakara Way Salt Lake City, UT 84108, USA USA: 1-800-735-6544 Bus:+1 (801)736-6354 x448 Fax:+1 (801)588-0507 http://www.idahotech.com/ -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Friday, May 08, 2009 1:44 PM To: Mailing list for lwIP users Subject: Re: [lwip-users] low level output question John Kennedy wrote: > So my quandary is this, I have a breakpoint set in low_level_output. When I > send a ping I hit the breakpoint and the pbuf lwip is trying to send is an > ARP response packet, the pbuf has len == tot_len = 1518 although the ARP > response packet is actually only 60 bytes? Just to see if I understood that right: you are sending a ping from the PC to lwIP? This of course results in an ARP request and lwIP sends an ARP response which is 1518 bytes long? That would of course be wrong. Can you check the contents of the packet? I.e. is it really an ARP request? If that's the case, the most obvious reason is a threading problem, I guess. It could be anything, though :-( Simon _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users ________________________________________ CONFIDENTIALITY NOTICE: This E-mail and any attachments are confidential information of the sender and are for the exclusive use of the intended recipient. If you are not the intended recipient, be aware that any disclosure, copying, distribution, or use of this E-mail or any attachment is prohibited. If you have received this E-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
