static err_t rza1_etharp_output_ipv6(struct netif *netif, struct pbuf *q, const ip6_addr_t *ipaddr) { /* Only send packet is link is up */ if (netif->flags & NETIF_FLAG_LINK_UP) { return ethip6_output(netif, q, ipaddr); } return ERR_CONN; }
static err_t panif_output_ipv6(struct netif *netif, struct pbuf *p, ip6_addr_t *ipaddr) { return ethip6_output(netif, p, ipaddr); }