Minor: Improved memory layout/alignment of struct dhcp for 32-bit platforms

This commit is contained in:
goldsimon 2009-10-26 09:59:54 +00:00
parent b09b8a0ccc
commit 2ff0ce2d0a

View File

@ -24,10 +24,6 @@ extern "C" {
struct dhcp
{
/** current DHCP state machine state */
u8_t state;
/** retries of current request */
u8_t tries;
/** transaction identifier of last sent request */
u32_t xid;
/** our connection to the DHCP server */
@ -38,6 +34,10 @@ struct dhcp
void *options_in;
/** ingoing msg options length */
u16_t options_in_len;
/** current DHCP state machine state */
u8_t state;
/** retries of current request */
u8_t tries;
struct pbuf *p_out; /* pbuf of outcoming msg */
struct dhcp_msg *msg_out; /* outgoing msg */