[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] etharp_XX_input questions
From: |
Leon Woestenberg |
Subject: |
Re: [lwip-devel] etharp_XX_input questions |
Date: |
Thu, 22 Jan 2004 22:50:11 +0100 |
Hello Jani,
> I see that etharp_ip_input() and etharp_arp_input() both return only
> NULL and that is stated in their javadoc too. However the ethernet
> drivers still check in their input routine whether the returned pbuf is
> non NULL and send that pbuf out if that's the case. Is that old code
> that can be deleted? Leon?Or is there something in the etharp TODO list
>
Yup, the ARP driver now directly communicates with the link layer
driver, so the return type is obsoleted.
I removed it in DEVEL as it changes the API. It will not hurt in 0.7.0,
correctly written device drivers should not act on a NULL return
anyway.
Regards,
Leon.