From bae4d6398cd2d9f473b5274b1e7375757445d73f Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Tue, 23 Aug 2016 10:23:59 +0200 Subject: [PATCH] Fix some comments to reference ethernet_output now --- src/core/ipv4/etharp.c | 2 +- src/core/ipv6/ethip6.c | 2 +- src/include/lwip/opt.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/ipv4/etharp.c b/src/core/ipv4/etharp.c index 3119504e..5288b744 100644 --- a/src/core/ipv4/etharp.c +++ b/src/core/ipv4/etharp.c @@ -876,7 +876,7 @@ etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, u8_t arp_idx) * * @return * - ERR_RTE No route to destination (no gateway to external networks), - * or the return type of either etharp_query() or etharp_send_ip(). + * or the return type of either etharp_query() or ethernet_output(). */ err_t etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) diff --git a/src/core/ipv6/ethip6.c b/src/core/ipv6/ethip6.c index 751cf037..1ae784f8 100644 --- a/src/core/ipv6/ethip6.c +++ b/src/core/ipv6/ethip6.c @@ -72,7 +72,7 @@ * * @return * - ERR_RTE No route to destination (no gateway to external networks), - * or the return type of either etharp_query() or etharp_send_ip(). + * or the return type of either etharp_query() or ethernet_output(). */ err_t ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 17ba18d2..71a465f0 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -2509,7 +2509,7 @@ /** * LWIP_HOOK_VLAN_SET(netif, eth_hdr, vlan_hdr): - * - called from etharp_raw() and etharp_send_ip() if VLAN support is enabled + * - called from etharp_raw() and ethernet_output() if VLAN support is enabled * - netif: struct netif that the packet will be sent through * - eth_hdr: struct eth_hdr of the packet * - vlan_hdr: struct eth_vlan_hdr of the packet