xueyunfei
45ad770c37
Icmp: get tos parameter in icmp reply
2022-07-05 11:37:41 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
Anton Maklakov
d2ce9abb2a
lwip: suppress some GCC 11 warnings
...
Closes https://github.com/espressif/esp-idf/issues/9142
2022-06-29 11:42:09 +00:00
Ondrej Kosta
53082a22f7
esp_netif: added support for LwIP bridge
...
examples: created bridge example
2022-06-14 15:29:44 +02:00
David Cermak
343cf2696e
esp_eth: Reduce internal deps onto netif-glue
2022-06-09 07:55:40 +00:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
David Cermak
c67f4c2b4c
lwip: Remove vanilla-lwip config until it's fully deployable
2022-06-02 20:45:24 +02:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
David Cermak
7efcb5e625
lwip: Add missing null-checks, rename to vanilla-lwip
2022-06-01 20:38:40 +02:00
David Cermak
00377cf2e5
lwip/ci: Cleanup public header checker ignore list
2022-06-01 14:36:58 +02:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
David Cermak
8b40579aa4
lwip: Move wifi's custom pbuf alloc/free to IRAM if config
2022-05-31 16:21:47 +02:00
David Cermak
0e71a325de
lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap)
2022-05-31 15:23:06 +02:00
yuanjm
0ae030d0ca
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
2022-05-27 02:48:45 +00:00
yuanjm
667a7c6cd0
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
...
Closes https://github.com/espressif/esp-idf/issues/8602
2022-05-20 11:26:27 +00:00
David Cermak
60fc1ae035
lwip: Removed incorrect-fix 358ee481
2022-05-18 17:11:35 +02:00
David Cermak
d50739adec
lwip: forgotten ip4_route_src_hook to IRAM
2022-05-18 17:11:35 +02:00
David Cermak
e7f19f39bc
lwip: Fix the CI
2022-05-18 17:11:35 +02:00
David Cermak
a6154a5f10
lwip: Update default MEMP_NUM_SYS_TIMEOUT if timers on-demand
2022-05-18 17:11:35 +02:00
David Cermak
5d6afa3c4b
dhcp: Implement additional dhcp options
2022-05-18 17:11:35 +02:00
David Cermak
1564e8d5a9
lwip: Implement DHCP hook supporting MTU option
2022-05-18 17:11:35 +02:00
David Cermak
5aa3be11fd
dhcpserver: Minor #idfef fix
2022-05-18 17:11:35 +02:00
David Cermak
b6eb9002a8
add dhcp custom values
2022-05-18 17:11:35 +02:00
David Cermak
356bc603c4
lwip: Support DHCP restore last IP
2022-05-18 17:11:35 +02:00
David Cermak
7a04eb8d66
lwip: Reference specific ESP patches
...
Also adding ip4_napt.c to sources, as it's added by ESP-patches
2022-05-18 17:10:42 +02:00
David Cermak
53c009e626
lwip: Update socket API to include port-version of sockets/netdb
...
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()
2022-05-18 17:10:42 +02:00
David Cermak
dbc91f73e6
lwip: Use custom pbufs for eth and wifi port/netif
2022-05-18 17:10:42 +02:00
David Cermak
65bf5f2b10
lwip: Add mem-heap options to support ALLOCATION_FROM_SPIRAM_FIRST
2022-05-18 17:10:42 +02:00
David Cermak
06263efe0b
lwip: Add IPv4 route hook to the esp32 port
2022-05-18 17:10:42 +02:00
David Cermak
808ac7427a
lwip: Add freertos sys-arch port layer
...
Added sys_thread_sem_func(), sys_sem_signal_isr(), g_lwip_task
2022-05-18 17:10:42 +02:00
David Cermak
5b471a1848
esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
...
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip
2022-05-18 17:10:42 +02:00
Darian Leung
e08d574a5d
lwip: Update AFL host test mock
...
This commit updates and refactors the AFL host test mock as follows:
- Isolates the mock so that it only relies on lwip component and linux stdlib headers
- Grouped all mock functions in 'esp32_mock.h/c'
- Updates the lwip esp32 port files to include 'esp32_mock.h' when building for linux
- Use host stdlib headers instead of xtensa stdlib headers
2022-04-29 15:11:44 +08:00
Darian Leung
4e4f20d82a
lwip: Fix extra or missing includes
2022-04-29 15:11:44 +08:00
Jeff H
5ebd86ab6a
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-04-25 16:35:04 +08:00
Armando
c4bcf1117c
esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support
2022-04-08 11:46:10 +08:00
David Čermák
3692b15965
Merge branch 'feature/lwip_dns_debug_logs' into 'master'
...
lw-IP: Add DNS debug option.
Closes IDFGH-7076
See merge request espressif/esp-idf!17668
2022-04-06 21:59:09 +08:00
Mengsk
42efbb1a57
Add lwip dns debug option.
2022-03-30 15:45:56 +02:00
Ondrej Kosta
c69b4c817b
Fixed Ethernet lwIP netif error indication
2022-03-22 07:17:40 +00:00
David Cermak
27375c7917
esp_netif: Cleanup dhcp-server allocations
2022-03-13 19:40:00 +01:00
David Cermak
1b49cf373f
lwip/dhcps: Fix fuzzer compilation
2022-03-13 19:40:00 +01:00
David Cermak
3d1c05aefb
lwip/dhcps: Add dhcps callback argument for associated netif
2022-03-13 19:40:00 +01:00
David Cermak
775c3a6253
lwip/dhcps: Add simple start/stop unit cases
2022-03-13 19:40:00 +01:00
David Cermak
5f135741a1
lwip/dhcpserver: Add return value to API that could fail
2022-03-13 19:40:00 +01:00
David Cermak
76e9d3cad0
lwip/dhcpserver: Add doxy documentation
2022-03-13 19:40:00 +01:00
David Cermak
afe6bc0c88
lwip/dhcp_server: Fix mem-leaks caught by UT's
2022-03-13 19:40:00 +01:00
David Cermak
adc00d1813
lwip: Fix fuzzer layers after dhcps update
2022-03-13 19:40:00 +01:00
David Cermak
c005b04d1c
lwip/dhcps: Support for dynamic dhcp server instances
2022-03-13 19:39:21 +01:00
David Cermak
bab051f450
lwip/dhcps: Cleanup internal lwip and esp-netif dependency
2022-03-13 19:38:15 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00