[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #6827] etharp could need some tuning
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [task #6827] etharp could need some tuning |
Date: |
Sun, 24 Jun 2007 12:01:55 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #42, task #6827 (project lwip):
> I quite like your solution conceptually, but agree it does
> involve some layering violations and lots of little
> modifications to the code, so not easily disabled with #define.
I've modified the 'addr_hint' solution by including an 'u8_t* add_hint' in
struct netif. tcp/udp & raw set that pointer to their '&(pcb->addr_hint)' and
reset it to NULL after calling ip_output_if.
That way, it can easily be defined out.
I'll attach a patch.
(Note: tcp needs to call ip_route & ip_output_if instead of ip_output to have
the netif; because of that, IP_STATS_INC(ip.rterr) and
snmp_inc_ipoutnoroutes() have to be moved from ip_output to ip_route).
(file #13144)
_______________________________________________________
Additional Item Attachment:
File name: etharp_addrhint2.patch Size:12 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?6827>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #6827] etharp could need some tuning, (continued)
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/18
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/18
- [lwip-devel] [task #6827] etharp could need some tuning, Frédéric Bernon, 2007/06/18
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/19
- [lwip-devel] [task #6827] etharp could need some tuning, Jonathan Larmour, 2007/06/19
- Re: [lwip-devel] [task #6827] etharp could need some tuning, Thomas Mueller, 2007/06/19
- RE: [lwip-devel] [task #6827] etharp could need some tuning, Goldschmidt Simon, 2007/06/19
- RE: [lwip-devel] [task #6827] etharp could need some tuning, tmu, 2007/06/21
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/21
- [lwip-devel] [task #6827] etharp could need some tuning, Kieran Mansley, 2007/06/22
- [lwip-devel] [task #6827] etharp could need some tuning,
Simon Goldschmidt <=
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/24
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/24
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/24
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/24
- [lwip-devel] [task #6827] etharp could need some tuning, Kieran Mansley, 2007/06/25
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/25
- [lwip-devel] [task #6827] etharp could need some tuning, Kieran Mansley, 2007/06/26
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/26
- [lwip-devel] [task #6827] etharp could need some tuning, Jared Grubb, 2007/06/29
- [lwip-devel] [task #6827] etharp could need some tuning, Simon Goldschmidt, 2007/06/30