[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: Thu, 20 May 2010 18:15:37 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: 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


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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