mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-07 21:38:50 +00:00
Minor: Improved memory layout/alignment of struct dhcp for 32-bit platforms
This commit is contained in:
parent
b09b8a0ccc
commit
2ff0ce2d0a
|
@ -24,10 +24,6 @@ extern "C" {
|
||||||
|
|
||||||
struct dhcp
|
struct dhcp
|
||||||
{
|
{
|
||||||
/** current DHCP state machine state */
|
|
||||||
u8_t state;
|
|
||||||
/** retries of current request */
|
|
||||||
u8_t tries;
|
|
||||||
/** transaction identifier of last sent request */
|
/** transaction identifier of last sent request */
|
||||||
u32_t xid;
|
u32_t xid;
|
||||||
/** our connection to the DHCP server */
|
/** our connection to the DHCP server */
|
||||||
|
@ -38,6 +34,10 @@ struct dhcp
|
||||||
void *options_in;
|
void *options_in;
|
||||||
/** ingoing msg options length */
|
/** ingoing msg options length */
|
||||||
u16_t options_in_len;
|
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 pbuf *p_out; /* pbuf of outcoming msg */
|
||||||
struct dhcp_msg *msg_out; /* outgoing msg */
|
struct dhcp_msg *msg_out; /* outgoing msg */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user