63 #if LWIP_IPV6 && LWIP_ETHERNET 98 ethip6_output(
struct netif *
netif,
struct pbuf *q,
const ip6_addr_t *ip6addr)
105 if (ip6_addr_ismulticast(ip6addr)) {
109 dest.addr[2] = ((
const u8_t *)(&(ip6addr->addr[3])))[0];
110 dest.addr[3] = ((
const u8_t *)(&(ip6addr->addr[3])))[1];
111 dest.addr[4] = ((
const u8_t *)(&(ip6addr->addr[3])))[2];
112 dest.addr[5] = ((
const u8_t *)(&(ip6addr->addr[3])))[3];
122 result = nd6_get_next_hop_addr_or_queue(netif, q, ip6addr, &hwaddr);
128 if (hwaddr == NULL) {
133 SMEMCPY(dest.addr, hwaddr, 6);
u8_t hwaddr[NETIF_MAX_HWADDR_LEN]