mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-06 20:29:04 +00:00
#ifdef LWIP_NETIF_HWADDRHINT around IP_PCB.addr_hint
This commit is contained in:
parent
96e4ec4a15
commit
fdc0d30337
@ -84,8 +84,11 @@ err_t ip_output_if(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
|
||||
u8_t tos; \
|
||||
/* Time To Live */ \
|
||||
u8_t ttl; \
|
||||
#if LWIP_NETIF_HWADDRHINT
|
||||
/* link layer address resolution hint */ \
|
||||
u8_t addr_hint
|
||||
#endif /* LWIP_NETIF_HWADDRHINT */
|
||||
|
||||
|
||||
/*
|
||||
* Option flags per-socket. These are the same like SO_XXX.
|
||||
|
@ -70,8 +70,10 @@ extern "C" {
|
||||
u8_t tos; \
|
||||
/* Time To Live */ \
|
||||
u8_t ttl; \
|
||||
#if LWIP_NETIF_HWADDRHINT
|
||||
/* link layer address resolution hint */ \
|
||||
u8_t addr_hint
|
||||
#endif /* LWIP_NETIF_HWADDRHINT */
|
||||
|
||||
|
||||
/* The IPv6 header. */
|
||||
|
Loading…
Reference in New Issue
Block a user