tasklwIP - A Lightweight TCP/IP stack - Tasks: task #11944, Restructure include folder

 
 

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

task #11944: Restructure include folder

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Thu 22 Mar 2012 06:07:10 PM UTC
   
 
Category:  None Should Start On:  Thu 22 Mar 2012 12:00:00 AM UTC
Should be Finished on:  Thu 22 Mar 2012 12:00:00 AM UTC Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  goldsimon Percent Complete:  100%
Open/Closed:  Closed Planned Release:  None
Effort:  0.00

Wed 28 Jan 2015 07:36:22 PM UTC, comment #3: 

This has already been done (some months ago)

Simon Goldschmidt <goldsimon>
Group administrator
Fri 23 Mar 2012 05:01:38 PM UTC, comment #2: 

Moving the ipv4 and ipv6 folders will have to wait until 1.5.0, too, since 1.4.1 still includes the old ipv6 code, where's header names are duplicate to ipv4.

Moving the arch folder is only optional for ports, it's not a thing that's done in the lwIP sources.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 23 Mar 2012 04:28:57 PM UTC, comment #1: 

I second the motion to move include/ipv4/lwip to include/lwip
and include/ipv6/lwip to include/lwip .

Moving the netif include dir will break current code, so I agree that it should wait to 1.5.0

I'm not sure about moving the arch dir. I like having my platform-dependent files in a separate dir than base LwIP code.

Ivan Delamer <idelamer>
Group Member
Thu 22 Mar 2012 06:07:10 PM UTC, original submission:  

Now that we have cleaned up IPv4 vs. IPv6 and don't have header files with duplicate names any more (mainly in folders include/ipv4/lwip vs. include/ipv6/lwip), I'd like to change header layout as follows:

- move all files from include/ipv4/lwip to include/lwip
- move all files from include/ipv6/lwip to include/lwip
- move all files from include/netif

That way, ports have to include only one directory (include/) instead of 3 (i.e. no need to add include/ipv4/ and include/ipv6/ to the include paths).

Ports could even copy their includes to lwIP's include directory (into a new subdir 'arch') so that arch-headers are automatically found.

Planned release would be 1.5.0 if we had free text instead of a drop-down list wich always needs to be updated :-)

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 idelamer (Posted a comment)
  • -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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-28 goldsimon Percent Complete0% 100%
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code