[Top][All Lists]

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

[lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)
Date: Sat, 22 May 2010 21:14:55 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: Gecko/20100401 Firefox/3.6.3

Update of bug #27352 (project lwip):

                Category:                    None => IPv4                   
              Item Group:                    None => Change Request         
                  Status:             In Progress => Fixed                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                 


Follow-up Comment #63:

Finally, Ifound the time to check in something that is a bit related to
Stephane's patch but a little different:
- I introduced a packed- and unpacked version of ip_addr_t (of which the
packed version is only used in packet headers)
- IP-src/dest address are copied to aligned storage in ip_input and used from
there in all protocols (while in an input function that is called from

This results in 2 addresses copied per incoming packet, which is good enough,
I guess.

It works for me, I hope I haven't broken anything I couldn't test here, so
please report back any errors.


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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