mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 02:05:43 +00:00
Fix doxygen comment in ethernet.c
This commit is contained in:
parent
56dc574bed
commit
d2f52e19d5
@ -139,7 +139,7 @@ ethernet_input(struct pbuf *p, struct netif *netif)
|
|||||||
}
|
}
|
||||||
#if LWIP_IPV6
|
#if LWIP_IPV6
|
||||||
else if ((ethhdr->dest.addr[0] == LL_IP6_MULTICAST_ADDR_0) &&
|
else if ((ethhdr->dest.addr[0] == LL_IP6_MULTICAST_ADDR_0) &&
|
||||||
(ethhdr->dest.addr[1] == LL_IP6_MULTICAST_ADDR_1)) {
|
(ethhdr->dest.addr[1] == LL_IP6_MULTICAST_ADDR_1)) {
|
||||||
/* mark the pbuf as link-layer multicast */
|
/* mark the pbuf as link-layer multicast */
|
||||||
p->flags |= PBUF_FLAG_LLMCAST;
|
p->flags |= PBUF_FLAG_LLMCAST;
|
||||||
}
|
}
|
||||||
@ -228,11 +228,11 @@ free_and_return:
|
|||||||
* Send an ethernet packet on the network using netif->linkoutput
|
* Send an ethernet packet on the network using netif->linkoutput
|
||||||
* The ethernet header is filled in before sending.
|
* The ethernet header is filled in before sending.
|
||||||
*
|
*
|
||||||
* @params netif the lwIP network interface on which to send the packet
|
* @param netif the lwIP network interface on which to send the packet
|
||||||
* @params p the packet to send, p->payload pointing to the (uninitialized) ethernet header
|
* @param p the packet to send, p->payload pointing to the (uninitialized) ethernet header
|
||||||
* @params src the source MAC address to be copied into the ethernet header
|
* @param src the source MAC address to be copied into the ethernet header
|
||||||
* @params dst the destination MAC address to be copied into the ethernet header
|
* @param dst the destination MAC address to be copied into the ethernet header
|
||||||
* @params eth_type ethernet type
|
* @param eth_type ethernet type
|
||||||
* @return ERR_OK if the packet was sent, any other err_t on failure
|
* @return ERR_OK if the packet was sent, any other err_t on failure
|
||||||
*/
|
*/
|
||||||
err_t
|
err_t
|
||||||
|
Loading…
Reference in New Issue
Block a user