Skip to content

Commit 3e93ea9

Browse files
esp_netif: Remove tcpip_adapter compatibility layer
* Original commit: espressif/esp-idf@795b7ed
1 parent 2c764b1 commit 3e93ea9

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

components/mdns/test_afl_fuzz_host/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ CFLAGS=-g -Wno-unused-value -Wno-missing-declarations -Wno-pointer-bool-conversi
3333
-I$(COMPONENTS_DIR)/soc/include \
3434
-I$(COMPONENTS_DIR)/soc/esp32/include \
3535
-I$(COMPONENTS_DIR)/soc/src/esp32/include \
36-
-I$(COMPONENTS_DIR)/tcpip_adapter/include \
3736
-I$(COMPONENTS_DIR)/xtensa/include \
3837
-I$(COMPONENTS_DIR)/xtensa/esp32/include \
3938
-I$(COMPILER_ICLUDE_DIR)/include

components/mdns/test_afl_fuzz_host/esp32_mock.h

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define INC_FREERTOS_H
1212
#define QUEUE_H
1313
#define SEMAPHORE_H
14-
#define _TCPIP_ADAPTER_H_
1514
#define _ESP_TASK_H_
1615

1716
#ifdef USE_BSD_STRING
@@ -92,14 +91,6 @@ extern const char * WIFI_EVENT;
9291
extern const char * IP_EVENT;
9392
extern const char * ETH_EVENT;
9493

95-
/* status of DHCP client or DHCP server */
96-
typedef enum {
97-
TCPIP_ADAPTER_DHCP_INIT = 0, /**< DHCP client/server in initial state */
98-
TCPIP_ADAPTER_DHCP_STARTED, /**< DHCP client/server already been started */
99-
TCPIP_ADAPTER_DHCP_STOPPED, /**< DHCP client/server already been stopped */
100-
TCPIP_ADAPTER_DHCP_STATUS_MAX
101-
} tcpip_adapter_dhcp_status_t;
102-
10394
struct udp_pcb {
10495
uint8_t dummy;
10596
};
@@ -114,23 +105,6 @@ struct ip6_addr {
114105
};
115106
typedef struct ip6_addr ip6_addr_t;
116107

117-
typedef struct {
118-
ip4_addr_t ip;
119-
ip4_addr_t netmask;
120-
ip4_addr_t gw;
121-
} tcpip_adapter_ip_info_t;
122-
123-
typedef enum {
124-
TCPIP_ADAPTER_IF_STA = 0, /**< ESP32 station interface */
125-
TCPIP_ADAPTER_IF_AP, /**< ESP32 soft-AP interface */
126-
TCPIP_ADAPTER_IF_ETH, /**< ESP32 ethernet interface */
127-
TCPIP_ADAPTER_IF_MAX
128-
} tcpip_adapter_if_t;
129-
130-
typedef struct {
131-
ip6_addr_t ip;
132-
} tcpip_adapter_ip6_info_t;
133-
134108
typedef void* system_event_t;
135109

136110
struct pbuf {

components/mdns/test_afl_fuzz_host/sdkconfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
#define CONFIG_HTTPD_PURGE_BUF_LEN 32
124124
#define CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL 120
125125
#define CONFIG_ESP_NETIF_TCPIP_LWIP 1
126-
#define CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER 1
127126
#define CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT 1
128127
#define CONFIG_ESP_TIMER_TASK_STACK_SIZE 3584
129128
#define CONFIG_ESP_TIMER_IMPL_TG0_LAC 1

0 commit comments

Comments
 (0)