|
lwIP 2.0.0
lwIP 2.0.0
LightweightIPstack
|
#include "lwip/opt.h"#include "lwip/ethip6.h"#include "lwip/nd6.h"#include "lwip/pbuf.h"#include "lwip/ip6.h"#include "lwip/ip6_addr.h"#include "lwip/inet_chksum.h"#include "lwip/netif.h"#include "lwip/icmp6.h"#include "netif/ethernet.h"#include <string.h>Functions | |
| err_t | ethip6_output (struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) |
Ethernet output for IPv6. Uses ND tables for link-layer addressing.
| 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, ...
| 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. |