Moved ethernet_input from tcpip.c to etharp.c so all netifs (or ports) can use it.

This commit is contained in:
goldsimon
2007-10-05 14:00:48 +00:00
parent 79c00be516
commit cb71d6d393
4 changed files with 65 additions and 60 deletions

View File

@@ -152,6 +152,8 @@ err_t etharp_output(struct netif *netif, struct pbuf *q, struct ip_addr *ipaddr)
err_t etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q);
err_t etharp_request(struct netif *netif, struct ip_addr *ipaddr);
err_t ethernet_input(struct pbuf *p, struct netif *netif);
#if LWIP_AUTOIP
err_t etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr,
const struct eth_addr *ethdst_addr,