Modified order of parameters for etharp_output() to match netif->output so etharp_output() can be used directly as netif->output to save one function call.

This commit is contained in:
goldsimon
2007-06-08 22:20:05 +00:00
parent 6b1dc21383
commit c028619cdd
4 changed files with 9 additions and 5 deletions

View File

@@ -135,8 +135,7 @@ s8_t etharp_find_addr(struct netif *netif, struct ip_addr *ipaddr,
void etharp_ip_input(struct netif *netif, struct pbuf *p);
void etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr,
struct pbuf *p);
err_t etharp_output(struct netif *netif, struct ip_addr *ipaddr,
struct pbuf *q);
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);