Rtos API example
lwip_ethip6.c File Reference
Ethernet output for IPv6. More...
Go to the source code of this file.
Functions | |
err_t | ethip6_output (struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) |
Resolve and fill-in Ethernet address header for outgoing IPv6 packet. |
Detailed Description
Ethernet output for IPv6.
Uses ND tables for link-layer addressing.
Definition in file lwip_ethip6.c.
Function Documentation
err_t ethip6_output | ( | struct netif * | netif, |
struct pbuf * | q, | ||
const ip6_addr_t * | ip6addr | ||
) |
Resolve and fill-in Ethernet address header for outgoing IPv6 packet.
For IPv6 multicast, corresponding Ethernet addresses are selected and the packet is transmitted on the link.
For unicast addresses, ask the ND6 module what to do. It will either let us send the the packet right away, or queue the packet for later itself, unless an error occurs.
- Parameters:
-
netif The lwIP network interface which the IP packet will be sent on. q The pbuf(s) containing the IP packet to be sent. ip6addr The IP address of the packet destination.
- Returns:
- ERR_OK or the return value of nd6_get_next_hop_addr_or_queue.
Definition at line 79 of file lwip_ethip6.c.
Generated on Sun Jul 17 2022 08:25:34 by 1.7.2