Go to the documentation of this file.
19 #ifndef ESP_ETH_NETDEV_H
20 #define ESP_ETH_NETDEV_H
Structure to hold driver interface -> function mapping.
#define ETHERNET_MAX_LEN
maximum number of bytes in an ethernet frame (with FCF)
Device descriptor for ESP-ETH devices.
Definitions for Ethernet.
uint16_t tx_len
number of bytes in transmit buffer
mutex_t dev_lock
device is already in use
Definitions low-level network driver interface.
uint16_t rx_len
number of bytes received
netdev_t netdev
netdev parent struct
uint32_t event
received event
Structure to hold driver state.
bool link_up
indicates whether link is up
Mutex for thread synchronization.
const netdev_driver_t esp_eth_driver
Reference to the netdev device driver struct.