lwip-devel
[Top][All Lists]
Advanced

[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: Tue, 18 May 2010 19:21:35 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Follow-up Comment #51, bug #27352 (project lwip):

As it is now, anyone can have a quick test of not packing ip_addr_t (just
remove the packing directives, there's no need to convert from the struct to a
typedef).

I hope to find the time to review the code in order to copy all addresses to
the stack instead of passing on (unaligned) pointers. However, since that is
quite unsafe (since there is no warning!), I think I'll add an option for that
for now, so that those who want to take the "risk" can try to improve
speed/code size by not packing ip_addr_t.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27352>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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