Added a configuration option for using u32 in the uip_ip4addr_t structure: UIP_CONF_UIP_IP4ADDR_T_WITH_U32

This commit is contained in:
adamdunkels 2008-02-24 21:04:15 +00:00
parent 8c782de931
commit 436d1f25eb

View file

@ -46,7 +46,7 @@
*
* This file is part of the uIP TCP/IP stack.
*
* $Id: uip.h,v 1.16 2008/02/09 16:22:22 oliverschmidt Exp $
* $Id: uip.h,v 1.17 2008/02/24 21:04:15 adamdunkels Exp $
*
*/
@ -62,9 +62,9 @@
typedef union uip_ip4addr_t {
u8_t u8[4]; /* Initializer, must come first!!! */
u16_t u16[2];
#if 0
#if UIP_CONF_UIP_IP4ADDR_T_WITH_U32
u32_t u32[1]; /* Might cause 32-bit alignment !!! */
#endif
#endif /* UIP_CONF_UIP_IP4ADDR_T_WITH_U32 */
} uip_ip4addr_t;
typedef union uip_ip6addr_t {