lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : RE : [lwip-devel] Last changes by Marc


From: Frédéric BERNON
Subject: RE : RE : [lwip-devel] Last changes by Marc
Date: Tue, 21 Aug 2007 09:43:33 +0200

>I had thought you had meant make it only the ETHARP_TCPIP_ETHINPUT option, 
>rather than make it no option at all. Not everyone uses ethernet, and 
>there may be other routes for drivers to introduce packets to the system 
>(e.g. via their own tcpip_callback calls, like PPP does), so it should 
>still be an option I think. Not least if anyone was using only PPP, not 
>ethernet.

Ok. So, which option? I think that LWIP_ARP should be enought and avoid to 
(re-)add something like ETHARP_TCPIP_ETHINPUT or ETHARP_TCPIP_INPUT. Your point 
of view?

>By the way, in the proposed patch, it also seemed like you removed the 
>function calls within the PPPOE support in ethernetif.c (pppoe_*_input).

Yes, as the same process is done in tcpip.c (like the other part), the only 
think specific to PPPoE in ethernetif.c is a little filter on ethtype.
 
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : address@hidden 
Web Site : http://www.hymatom.fr 
====================================
P Avant d'imprimer, penser à l'environnement
 


-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de Jonathan Larmour
Envoyé : mardi 21 août 2007 01:58
À : lwip-devel
Objet : Re: RE : [lwip-devel] Last changes by Marc


Frédéric BERNON wrote:
>>>- "tcpip.c / ETHARP_TCPIP_INPUT / ETHARP_TCPIP_ETHINPUT": No problem, 
>>>but, to be honest, I'm in flavor to remove ETHARP_TCPIP_INPUT & 
>>>ETHARP_TCPIP_ETHINPUT option, and to only support "ETHINPUT" case. It 
>>>will simplify the code, and is the only way to have no concurrent 
>>>access in ARP module. No objects to change that?
> 
> 
>>That seems fine to me. Worth doing for 1.3 I think since we're 
>>breaking old
>>ports as it is, so no reason to hold back here (and cause more breakage for 
>>1.4).
> 
> 
> About this last point, I have attached a ETHARP_TCPIP.txt patch file 
> about the proposed change.
> 
> Is there any objects about it?

I had thought you had meant make it only the ETHARP_TCPIP_ETHINPUT option, 
rather than make it no option at all. Not everyone uses ethernet, and 
there may be other routes for drivers to introduce packets to the system 
(e.g. via their own tcpip_callback calls, like PPP does), so it should 
still be an option I think. Not least if anyone was using only PPP, not 
ethernet.

By the way, in the proposed patch, it also seemed like you removed the 
function calls within the PPPOE support in ethernetif.c (pppoe_*_input).

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.
------["The best things in life aren't things."]------      Opinions==mine


_______________________________________________
lwip-devel mailing list
address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-devel

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]