Definitions low-level network driver interface.
const netdev_driver_t esp_eth_driver
Reference to the netdev device driver struct.
Definitions for Ethernet.
struct netdev netdev_t
Forward declaration for netdev struct.
struct netdev_driver netdev_driver_t
Structure to hold driver interface -> function mapping.
#define ETHERNET_MAX_LEN
maximum number of bytes in an ethernet frame (with FCF)
Mutex for thread synchronization.
Device descriptor for ESP-ETH devices.
mutex_t dev_lock
device is already in use
uint16_t tx_len
number of bytes in transmit buffer
netdev_t netdev
netdev parent struct
uint8_t rx_buf[ETHERNET_MAX_LEN]
receive buffer
void * eth_driver
EMAC driver handle.
bool link_up
indicates whether link is up
uint16_t rx_len
number of bytes received
uint8_t tx_buf[ETHERNET_MAX_LEN]
transmit buffer
uint32_t event
received event