[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] low level output question
From: |
John Kennedy |
Subject: |
RE: [lwip-users] low level output question |
Date: |
Fri, 8 May 2009 14:19:00 -0600 |
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: address@hidden [mailto:address@hidden
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
address@hidden
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] low level output question, John Kennedy, 2009/05/08
- Re: [lwip-users] low level output question, address@hidden, 2009/05/08
- RE: [lwip-users] low level output question, John Kennedy, 2009/05/08
- Re: [lwip-users] low level output question, address@hidden, 2009/05/08
- RE: [lwip-users] low level output question, John Kennedy, 2009/05/08
- Re: [lwip-users] low level output question, address@hidden, 2009/05/08
- RE: [lwip-users] low level output question,
John Kennedy <=
- Re: [lwip-users] low level output question, address@hidden, 2009/05/09
- [lwip-users] PING App Issues [RAW], HM2, 2009/05/09
- Re: [lwip-users] PING App Issues [RAW], address@hidden, 2009/05/10
- Re: [lwip-users] PING App Issues [RAW], HM2, 2009/05/10
- Re: [lwip-users] PING App Issues [RAW], Simon Goldschmidt, 2009/05/11
[lwip-users] Gratuitous ARP Target Hardware Address, HM2, 2009/05/08