mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
Fix bug #47749: #define ETHARP_TRUST_IP_MAC does not compile
This commit is contained in:
parent
8ac1b4825a
commit
61d07f88f0
@ -116,6 +116,7 @@ err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr);
|
|||||||
* From RFC 3220 "IP Mobility Support for IPv4" section 4.6. */
|
* From RFC 3220 "IP Mobility Support for IPv4" section 4.6. */
|
||||||
#define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif))
|
#define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif))
|
||||||
void etharp_cleanup_netif(struct netif *netif);
|
void etharp_cleanup_netif(struct netif *netif);
|
||||||
|
void etharp_ip_input(struct netif *netif, struct pbuf *p);
|
||||||
|
|
||||||
#if ETHARP_SUPPORT_STATIC_ENTRIES
|
#if ETHARP_SUPPORT_STATIC_ENTRIES
|
||||||
err_t etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr);
|
err_t etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr);
|
||||||
|
@ -670,7 +670,7 @@ etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_a
|
|||||||
*
|
*
|
||||||
* @see pbuf_free()
|
* @see pbuf_free()
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
etharp_ip_input(struct netif *netif, struct pbuf *p)
|
etharp_ip_input(struct netif *netif, struct pbuf *p)
|
||||||
{
|
{
|
||||||
struct eth_hdr *ethhdr;
|
struct eth_hdr *ethhdr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user