Commit Graph

708 Commits

Author SHA1 Message Date
xueyunfei
9b555497ca Fix(lwip):bugfix for change default value for ip ttl 2024-01-17 16:37:57 +08:00
Xue yun fei
cf4c2ea576 optimize(lwip):when psram is enable the number of ooseq is not limited 2023-12-15 14:10:54 +08:00
zwx
afbbaaf417 feat(lwip): support NA router farwording flag set
* Update submodule: git log --oneline
  4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299)
2023-12-04 16:22:24 +08:00
sonika.rathi
45d801d815 fix(vfs/uart): add UART VFS select callback in IRAM
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-21 10:26:25 +01:00
xueyunfei
0402fdeba1 Fix(lwip):bugfix for add config for tcp ooseq bufs 2023-11-08 16:45:48 +08:00
Fu Hanxi
321d3c9ba6 Merge branch 'ci/remove_ttfw' into 'master'
ci: remove ttfw

See merge request espressif/esp-idf!26313
2023-10-17 20:43:56 +08:00
Jiang Jiang Jian
fb2c844a83 Merge branch 'bugfix/optimize_tcp_connection' into 'master'
Fix(tcp):optimize tcp connection

See merge request espressif/esp-idf!25124
2023-10-17 14:28:29 +08:00
Xu Xiao
ed9f9021cc Merge branch 'revert_tcpip_task_priority_macro' into 'master'
revert(lwip): Revert changes to LWIP task priority macro from MR 25020

See merge request espressif/esp-idf!26420
2023-10-17 13:28:19 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
xueyunfei
fcc1569de4 Fix(tcp):optimize tcp connection 2023-10-13 14:14:55 +08:00
xuxiao
31bb66813a revert(lwip): Revert changes to LWIP task priority macro from MR 25020 2023-10-11 17:54:27 +08:00
zhangyanjiao
04ea824740 fix(lwip): Modify the DHCP offer and DHCP ack from broadcast to unicast 2023-10-09 17:52:01 +08:00
Abhik Roy
0ee3041091 feat(lwip): Fixes and Improvements for NAPT and SBOM Support
- napt: restore to the initial state in deinit (espressif/esp-lwip@5c4f899f)
  - napt: Fix ip_portmap_add() to keep only one port mapping (espressif/esp-lwip@d65ad241)
  - napt: Fix clean compilation (espressif/esp-lwip@7033e26f)
  - napt: Fix IP forwarding when forward netif enable NAPT (espressif/esp-lwip@bc78df87)
  - napt/stats: Move some napt counters to stats module (espressif/esp-lwip@b55e64ae)
  - ip_napt_maint: Fix timestamp overflow handling (2.1.3) (espressif/esp-lwip@a7e0a50c)
  - napt: Fixes and improvements (2.1.3) (espressif/esp-lwip@fadb9109)
  - Add sbom descripton file for Software BOM (espressif/esp-lwip@f07097d7)
2023-09-26 20:02:42 +10:00
Jakob Hasse
ac2515e199 refactor(lwip): Added on/off switch for LwIP stack
* This switch allows applications to replace lwip with a different
  IP stack or just make it build if it is a dependency but not
  actually needed.
2023-09-22 10:03:13 +08:00
Abhik Roy
4940cfaa88 feat: Added option to enable or disable Port mapping in NAPT 2023-09-18 23:53:23 +10:00
xueyunfei
fff7c6a399 fix(dhcp server):fix set dhcp server poll fail issue 2023-09-13 10:20:02 +08:00
Xu Xiao
8847eeec0c feat(wifi): optimize esp32c6 iperf performance 2023-09-04 14:34:54 +08:00
Armando
712c0c0075 feat(psram): esp32p4 psram device driver support 2023-08-28 14:14:58 +08:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
xiaqilin
c84cbd5e65 feat(openthread): disable lwip nd6 in openthread sleepy device 2023-08-22 08:11:41 +00:00
Abhik Roy
9a2fb1a4a5 fix: Added check to ensure safe restart of dhcp fine timer 2023-08-17 18:39:48 +10:00
David Cermak
c510560890 lwip: Fix print format -Wformat issues 2023-08-15 11:01:01 +02:00
xueyunfei
15be9a0c3a fix(dhcp server): Fix dhcp server address pool issue 2023-07-25 20:48:19 +08:00
Ondrej Kosta
35d4dd74f5 Merge branch 'feature/lwip_bridge_wifi' into 'master'
lwip bridge wifi

Closes IDFGH-3778

See merge request espressif/esp-idf!24112
2023-07-11 17:54:10 +08:00
Chen Jian Xing
576ce647f8 Merge branch 'bugfix/fix_sometimes_sta_can_not_get_ip_from_softap_issue' into 'master'
lower the dhcp discover and request retry backoff time

Closes WIFI-5646, WIFI-5647, WIFI-4774, WIFI-4823, and WIFI-5823

See merge request espressif/esp-idf!24224
2023-07-11 15:18:41 +08:00
Ondrej Kosta
3288f83401 feat(network/examples): extended LwIP bridge example
Extended LwIP bridge example to support WiFi AP interface and DHCP Server

https://github.com/espressif/esp-idf/issues/5697
2023-06-30 14:38:24 +02:00
muhaidong
f5e0d5f908 lower the dhcp discover and request retry backoff time 2023-06-16 10:49:28 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Zhang Wen Xu
bcb17412f5 Merge branch 'feature/lwip_add_ip6_src_addr_select_hook' into 'master'
lwip: add a hook for ip6 source address selection

See merge request espressif/esp-idf!23672
2023-06-15 16:07:29 +08:00
David Čermák
fd8ed0df36 Merge branch 'bugfix/lwip_dhcps_hook_types' into 'master'
lwip: Fix incorrect invocation of the hook `LWIP_HOOK_DHCPS_POST_APPEND_OPTS`

Closes IDFGH-10099 and IDFGH-10098

See merge request espressif/esp-idf!23793
2023-06-12 20:18:58 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
zhangwenxu
5708743c5a lwip: add a hook for ip6 source address selection 2023-06-07 12:12:31 +00:00
xueyunfei
b1a07a0a8c netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address
Closes https://github.com/espressif/esp-idf/issues/9693
2023-05-12 03:07:14 +00:00
wuyuanyi135
97c44ee95d
Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
Fix https://github.com/espressif/esp-idf/issues/11373
2023-05-10 19:52:40 +08:00
David Cermak
b2af4d9689 lwip/linux: Add lwip support for networking component under linux
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
David Cermak
924bac9956 lwip: Remove AFL based fuzzer tests
Also removed compilation pre-checks and jobs from the CI, and test data
2023-03-20 17:47:23 +00:00
David Čermák
76730607a7 Merge branch 'bugfix/lwip_opts_sock_macro_param' into 'master'
lwip: Fix lwiopts macro expansion

See merge request espressif/esp-idf!22745
2023-03-15 20:24:45 +08:00
Jiang Jiang Jian
f3a32bc687 Merge branch 'fixbug/baidu_tcp_ooseq_assert' into 'master'
lw-ip:fixbug for  tcp ooseq assert

Closes AUD-4354

See merge request espressif/esp-idf!22376
2023-03-14 14:45:06 +08:00
David Cermak
ffd1386a2e lwip: Fix lwiopts macro expansion
Minor issue in lwipopts.h in macro expansion in parameters (cosmetic
change: it expands correctly but doesn't pass the expected argument)
2023-03-13 19:32:11 +01:00
xueyunfei
336fc879b3 1 dhcp: Fix dhcp_fine_tmr() not to use netif after free
2 tcp_in/ooseq: Fix incorrect segment trim when FIN moved

* Update submodule: git log --oneline 10197b212a95c49c733fb18ffed56cafb0d196d4..d5e56d06658ae11292be1baea56204f7120b6fa7

Detailed description of the changes:
  - dhcp: Fix dhcp_fine_tmr() not to use netif after free (esp-lwip@d5e56d06)
  - tcp_in/ooseq: Fix incorrect segment trim when FIN moved (esp-lwip@9e62afff)
  - netdb:fixed addrtype and length in gethostbyname (esp-lwip@aee6b3ed)
  - lwip/napt: Added api to enable/disable napt based on lwip netif (esp-lwip@280c3d61)
  - lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp (esp-lwip@86df9f44)
2023-03-13 15:21:26 +08:00
xueyunfei
ad0b32c662 lwip: solve some routers do not forward multicast packet issue 2023-03-08 16:58:29 +08:00
Jiang Jiang Jian
df6b33712f Merge branch 'Bugfix/softap_support_CIDR' into 'master'
Bugfix for softap support CIDR

Closes IDFGH-8574

See merge request espressif/esp-idf!22471
2023-03-02 14:03:00 +08:00
David Čermák
956e62c461 Merge branch 'feature/lwip_ipv6_only' into 'master'
lwip: Support IPv6 only mode

Closes IDF-6023

See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
David Cermak
5f6cb31105 lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00
xueyunfei
4f0732cf05 Fixed bug for dhcp server support CIDR
Closes https://github.com/espressif/esp-idf/issues/10024

Closes https://github.com/espressif/esp-idf/issues/10559
2023-02-24 14:24:49 +08:00
David Cermak
708641204e lwip: Add missing esp_sntp_enabled() 2023-02-24 07:23:55 +01:00
xueyunfei
2f6b681b1a lwip:optimization dhcp coarse timer 2023-02-08 16:29:28 +08:00
David Čermák
080fd7e14f Merge branch 'bugfix/lwip_dhcp_restore_last' into 'master'
lwip: fix dhcp_server path (GitHub PR)

Closes IDFGH-9297 and IDFGH-9309

See merge request espressif/esp-idf!22251
2023-02-08 15:07:49 +08:00
Jiang Jiang Jian
f4c14a6bf4 Merge branch 'bugfix/lwip_sntp_cpp_fix' into 'master'
esp_sntp: Fix c++ compile issue in esp_sntp.h (GitHub PR)

Closes IDFGH-9212 and IDFGH-9239

See merge request espressif/esp-idf!22159
2023-02-07 14:36:39 +08:00
Sean Cross
79d37515df lwip: fix dhcp_server path
The path for dhcp_server.c has changed from esp32/ to esp32xx/

This fixes the build when CONFIG_LWIP_DHCP_RESTORE_LAST_IP is enabled.

Signed-off-by: Sean Cross <sean@xobs.io>
2023-02-03 22:55:09 +08:00