mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Introduce the experimental Ethernet sublayer (parent/child VLAN, optional switch path, iodriver provider), restructure eth test apps, and document the new APIs.
22 lines
642 B
C
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
|