48#ifndef __ETHERNETIF_H__
49#define __ETHERNETIF_H__
54#include "lwip/netif.h"
142err_t igmp_mac_filter(
struct netif *netif,
const ip4_addr_t *ip4_addr, netif_mac_filter_action action);
148void register_multicast_address(
const uint8_t *mac);
void ethernetif_get_mac_addr(uint8_t *mac)
Copy the MAC address used by the driver.
Definition ethernetif.cpp:595
void ethernetif_notify_conn_changed(struct netif *netif)
Notify the user that the link status has changed.
Definition ethernetif.cpp:580
void ethernetif_input(struct netif *netif)
Read one received frame from the MAC and pass it to LwIP.
Definition ethernetif.cpp:436
void ethernetif_update_config(struct netif *netif)
Apply the PHY auto-negotiation result to the MAC.
Definition ethernetif.cpp:526
void ethernetif_set_link(struct netif *netif)
Poll the PHY and update the LwIP link state of the interface.
Definition ethernetif.cpp:500
err_t ethernetif_init(struct netif *netif)
LwIP network interface initialization callback.
Definition ethernetif.cpp:464
void ethernetif_set_mac_addr(const uint8_t *mac)
Set the MAC address used by the driver.
Definition ethernetif.cpp:588
uint8_t ethernetif_is_init(void)
Check whether the Ethernet hardware has been initialized.
Definition ethernetif.cpp:459