Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
lwip_ethip6.c File Reference
Ethernet output for IPv6. More...
Go to the source code of this file.
Functions | |
static err_t | ethip6_send (struct netif *netif, struct pbuf *p, struct eth_addr *src, struct eth_addr *dst) |
Send an IPv6 packet on the network using netif->linkoutput The ethernet header is filled in before sending. | |
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, ...
- 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_RTE No route to destination (no gateway to external networks), or the return type of either etharp_query() or etharp_send_ip().
Definition at line 102 of file lwip_ethip6.c.
static err_t ethip6_send | ( | struct netif * | netif, |
struct pbuf * | p, | ||
struct eth_addr * | src, | ||
struct eth_addr * | dst | ||
) | [static] |
Send an IPv6 packet on the network using netif->linkoutput The ethernet header is filled in before sending.
netif the lwIP network interface on which to send the packet p the packet to send, p->payload pointing to the (uninitialized) ethernet header src the source MAC address to be copied into the ethernet header dst the destination MAC address to be copied into the ethernet header
- Returns:
- ERR_OK if the packet was sent, any other err_t on failure
Definition at line 69 of file lwip_ethip6.c.
Generated on Tue Jul 12 2022 11:03:02 by
