Rizky Ardi Maulana / mbed-os
Embed: (wiki syntax)

« Back to documentation index

ethip6.h File Reference

ethip6.h 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 ethip6.h.


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:
netifThe lwIP network interface which the IP packet will be sent on.
qThe pbuf(s) containing the IP packet to be sent.
ip6addrThe 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.