[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] RE: [bug #27352] Change ip_addr from struct to typedef (u32
From: |
Bill Auerbach |
Subject: |
[lwip-devel] RE: [bug #27352] Change ip_addr from struct to typedef (u32_t) |
Date: |
Mon, 8 Feb 2010 09:03:35 -0500 |
Stephane,
In the Wiki LWIP_PLATFORM_HTONS/L has 2 problems:
1) Cases where HTONS is given a value larger than 0xFFFF. The >> needs an &
0xFF added to it.
2) The x in the macro text must be (x). x could be an expression whose
precedence doesn't work out with the other operators in the macro.
Bill
>-----Original Message-----
>From: Stephane Lesage [mailto:address@hidden
>Sent: Saturday, February 06, 2010 6:53 PM
>To: Kieran Mansley; Simon Goldschmidt; David Empson; Mike Kleshov;
>Stephane Lesage; Bill Auerbach; address@hidden
>Subject: [bug #27352] Change ip_addr from struct to typedef (u32_t)
>
>
>Follow-up Comment #35, bug #27352 (project lwip):
>
>I updated http://lwip.wikia.com/wiki/Porting_for_an_OS#cc.h to explain
>endianness macros and structure packing optimization.
>
>By the way, I think we should separate cc.h and sys_arch documentations,
>as
>they obviously are independent (both .txt and wiki pages)
>
>Also, MEM_ALIGNMENT, MEMCPY and SMEMCPY should be moved to cc.h.
>
>
>
>
>
> _______________________________________________________
>
>Reply to this item at:
>
> <http://savannah.nongnu.org/bugs/?27352>
>
>_______________________________________________
> Message posté via/par Savannah
> http://savannah.nongnu.org/
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), (continued)
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Stephane Lesage, 2010/02/06
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Stephane Lesage, 2010/02/06
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Stephane Lesage, 2010/02/07
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Simon Goldschmidt, 2010/02/08
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Simon Goldschmidt, 2010/02/08
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Kieran Mansley, 2010/02/08
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Stephane Lesage, 2010/02/08
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Stephane Lesage, 2010/02/13
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Stephane Lesage, 2010/02/14
- [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t), Simon Goldschmidt, 2010/02/16
- [lwip-devel] RE: [bug #27352] Change ip_addr from struct to typedef (u32_t),
Bill Auerbach <=