#ifdef LWIP_NETIF_HWADDRHINT around IP_PCB.addr_hint

This commit is contained in:
goldsimon 2007-07-03 08:09:50 +00:00
parent 96e4ec4a15
commit fdc0d30337
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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. */