[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] parameter for netif_add in UDP
From: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] parameter for netif_add in UDP |
Date: |
Thu, 14 Feb 2008 14:51:55 +0000 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20070530) |
Ben Bobbitt wrote:
>
> Yes, the DHCP part seems to be working. I see the transactions on the
> wire and my app is able to retrieve the new IP address. I am also able
> to transmit UDP packets.
>
> I've seen a couple of flavors of the receive issue. In one situation
> the transmitting system sends out the ARP packet looking for the proper
> device to associate with that IP, and the ARP module in lwIP doesn't
> seem to recognize that it is directed to him. It seems that in other
> instances ( using a different transmitting system ), there is no ARP
> request preceding the transmit, and that's when my system responds with
> the ICMP port unreachable. Both symptoms would still seem to point to
> some setup problem with the netif.
You could enable ETHARP_DEBUG in lwipopts.h (and '#define LWIP_DEBUG 1' in
your port) to see if that gives more info on what is going on.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
Visit us @ Embedded World 2008, Nürnberg, Germany, 26-28 Feb:Stand 11-336
------["Si fractum non sit, noli id reficere"]------ Opinions==mine