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: Thu, 20 May 2010 18:15:37 +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 #62, bug #27352 (project lwip):

>From reading the code, the only unaligned fields might be struct
netbios_name_hdr.netbios_name_hdr or .addr. But then again, that's contrib
code, not core lwIP code, so if you're not using this, you shouldn't need
packing on a 32-bit platform when ETH_PAD_SIZE==2. I'll give it a try, too.

Nevertheless, I still think packing ip_addr_t should be avoided in case a
platform can't use ETH_PAD_SIZE==2 (e.g. because of limitations of DMA-enabled
MACs).

    _______________________________________________________

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]