Fix some comments to reference ethernet_output now

This commit is contained in:
Dirk Ziegelmeier 2016-08-23 10:23:59 +02:00
parent 18136c047b
commit bae4d6398c
3 changed files with 3 additions and 3 deletions

View File

@ -876,7 +876,7 @@ etharp_output_to_arp_index(struct netif *netif, struct pbuf *q, u8_t arp_idx)
* *
* @return * @return
* - ERR_RTE No route to destination (no gateway to external networks), * - 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 err_t
etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr) etharp_output(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr)

View File

@ -72,7 +72,7 @@
* *
* @return * @return
* - ERR_RTE No route to destination (no gateway to external networks), * - 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 err_t
ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr)

View File

@ -2509,7 +2509,7 @@
/** /**
* LWIP_HOOK_VLAN_SET(netif, eth_hdr, vlan_hdr): * 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 * - netif: struct netif that the packet will be sent through
* - eth_hdr: struct eth_hdr of the packet * - eth_hdr: struct eth_hdr of the packet
* - vlan_hdr: struct eth_vlan_hdr of the packet * - vlan_hdr: struct eth_vlan_hdr of the packet