diff --git a/src/include/netif/etharp.h b/src/include/netif/etharp.h index e745dcc3..9d9be2f7 100644 --- a/src/include/netif/etharp.h +++ b/src/include/netif/etharp.h @@ -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. */ #define etharp_gratuitous(netif) etharp_request((netif), netif_ip4_addr(netif)) void etharp_cleanup_netif(struct netif *netif); +void etharp_ip_input(struct netif *netif, struct pbuf *p); #if ETHARP_SUPPORT_STATIC_ENTRIES err_t etharp_add_static_entry(const ip4_addr_t *ipaddr, struct eth_addr *ethaddr); diff --git a/src/netif/etharp.c b/src/netif/etharp.c index 776e949f..bf32b651 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -670,7 +670,7 @@ etharp_get_entry(u8_t i, ip4_addr_t **ipaddr, struct netif **netif, struct eth_a * * @see pbuf_free() */ -static void +void etharp_ip_input(struct netif *netif, struct pbuf *p) { struct eth_hdr *ethhdr;