tasklwIP - A Lightweight TCP/IP stack - Tasks: task #6881, Create option to leave header...

 
 

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

task #6881: Create option to leave header fields in host byte order

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Sun 13 May 2007 03:14:49 PM UTC
   
 
Category:  None Should Start On:  Sun 13 May 2007 12:00:00 AM UTC
Should be Finished on:  Sun 13 May 2007 12:00:00 AM UTC Priority:  1 - Later
Status:  Cancelled Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Closed Planned Release:  None
Effort:  0.00

Thu 26 Feb 2015 07:40:51 PM UTC, comment #3: 

Haven't found any other NIC that supports this and the one I found back in 2007 is not used any more...

Simon Goldschmidt <goldsimon>
Group administrator
Fri 26 Mar 2010 04:46:44 PM UTC, comment #2: 

I'm not using such a MAC now, so I'm setting this to postponed. If anyone would benefit from this, speak up!

Simon Goldschmidt <goldsimon>
Group administrator
Thu 17 May 2007 12:38:25 PM UTC, comment #1: 

OK, since I commented the byte order of some fields, this can go on.

TCP and UDP are no problem since the ports are already given in host byte order, only internal conversion would change (be left out).

IP is kind of a problem since IP adresses are stored in network byte order in the pcb (and expected the same in function parameters). As long as ip adresses are only composed through macros like IP4_ADDR, that is no problem.

I would create hton*/ntoh*-macros for each protocol that would be defined to not convert if a switch like MAC_DOES_BYTE_ORDER_CONVERSION_IP / *_UDP / *_TCP is set to 1 (only for little endian, of course).

Simon Goldschmidt <goldsimon>
Group administrator
Sun 13 May 2007 03:14:49 PM UTC, original submission:  

As already mention on lwip_devel, there are some MACs with the ability to automatically convert some protocol headers into host byte order (mainly IP, TCP and UDP). We should create an option for each of those protocols to simplify integration of those MACs into lwIP.

I think that this somehow depends on task #1568 ("Comment whether fields are host or network byte order"), so I might start to work on that, first ;-)

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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-26 goldsimon StatusPostponed Cancelled
        Open/ClosedOpen Closed
    2010-03-26 goldsimon StatusNone Postponed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code