tasklwIP - A Lightweight TCP/IP stack - Tasks: task #13515, Remove dedicated loopif, add...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #13515: Remove dedicated loopif, add single-netif mode

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Mon 09 Mar 2015 09:38:47 PM UTC
   
 
Category:  None Should Start On:  Mon 09 Mar 2015 12:00:00 AM UTC
Should be Finished on:  Mon 09 Mar 2015 12:00:00 AM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Percent Complete:  90%
Open/Closed:  Closed Planned Release:  None
Effort:  0.00

Wed 05 Apr 2017 07:32:39 PM UTC, comment #3: 

I'm OK with the way it is now.

Simon Goldschmidt <goldsimon>
Group administrator
Wed 01 Mar 2017 03:13:05 PM UTC, comment #2: 

Added LWIP_SINGLE_NETIF for small targets with only one netif:
http://git.savannah.gnu.org/cgit/lwip.git/commit/?id=0d585d55d3af021c069cc93b952f3d11c8a9beda

There may be more optimizations to do with this new option (e.g. keep the netif global, not the pointer -> no NULL checks; hard reference to linkoutput?)

Simon Goldschmidt <goldsimon>
Group administrator
Tue 24 Mar 2015 08:24:21 PM UTC, comment #1: 

LWIP_HAVE_LOOPIF is now not required any more for loopback traffic via loopback addresses. It is still possible to enable it though (mainly for tests or special setups where there is no other netif).

Single-netife mode (as an optimization over all lwIP modules) remains to be done.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 09 Mar 2015 09:38:47 PM UTC, original submission:  

To get back to being 'lightweight', I think i might be a good idea to have a config option 'LWIP_SINGLE_NETIF' that drops all routing options (which don't make much sense on single-netif devices).

To achieve this, ip loopback traffic passed through 'loopif' (is it IPv4 only?) has to take another way.

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-05 goldsimon StatusIn Progress Done
        Open/ClosedOpen Closed
    2017-03-08 goldsimon StatusNone In Progress
    2017-03-01 goldsimon Percent Complete50% 90%
        Assigned toNone goldsimon
    2015-03-24 goldsimon Percent Complete0% 50%

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code