mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-04 20:37:26 +00:00
Sligthly reordered struct netif's members to better meet alignment requirements
This commit is contained in:
parent
b5d28e0a9c
commit
96e8f16c05
@ -131,12 +131,12 @@ struct netif {
|
|||||||
/* the hostname for this netif, NULL is a valid value */
|
/* the hostname for this netif, NULL is a valid value */
|
||||||
char* hostname;
|
char* hostname;
|
||||||
#endif /* LWIP_NETIF_HOSTNAME */
|
#endif /* LWIP_NETIF_HOSTNAME */
|
||||||
|
/** maximum transfer unit (in bytes) */
|
||||||
|
u16_t mtu;
|
||||||
/** number of bytes used in hwaddr */
|
/** number of bytes used in hwaddr */
|
||||||
u8_t hwaddr_len;
|
u8_t hwaddr_len;
|
||||||
/** link level hardware address of this interface */
|
/** link level hardware address of this interface */
|
||||||
u8_t hwaddr[NETIF_MAX_HWADDR_LEN];
|
u8_t hwaddr[NETIF_MAX_HWADDR_LEN];
|
||||||
/** maximum transfer unit (in bytes) */
|
|
||||||
u16_t mtu;
|
|
||||||
/** flags (see NETIF_FLAG_ above) */
|
/** flags (see NETIF_FLAG_ above) */
|
||||||
u8_t flags;
|
u8_t flags;
|
||||||
/** descriptive abbreviation */
|
/** descriptive abbreviation */
|
||||||
|
Loading…
Reference in New Issue
Block a user