Files
esp-idf/components/esp_eth/include/esp_eth.h
Ondrej Kosta 2e79c3fd69 feat(esp_eth): add Ethernet sublayer with optional VLAN and switch
Introduce the experimental Ethernet sublayer (parent/child VLAN, optional
switch path, iodriver provider), restructure eth test apps, and document
the new APIs.
2026-08-13 13:56:57 +02:00

22 lines
642 B
C

/*
* SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "sdkconfig.h"
/**
* Purpose of this file is to create a common header for the typical ethernet usecase,
* so using the ethernet driver and the default glue or sublayer layer to its network interface.
*
* If you prefer to create a custom network interface or use the Ethernet as a driver only,
* then it is recommended to include the "esp_eth_driver.h" only.
*/
#include "esp_eth_driver.h"
#include "esp_eth_netif_glue.h"
#if CONFIG_ETH_SUBLAYER_SUPPORT
#include "esp_eth_sublayer.h"
#endif