yuanjm
6e182d7ed3
dhcpserver: support cplusplus
...
Closes https://github.com/espressif/esp-idf/issues/7494
Merges https://github.com/espressif/esp-idf/pull/7526
2021-10-12 14:25:38 +08:00
ivmarkov
98733692c9
lwip: Fix ICMP Ping on specific iface
...
Fix broken parentheses in setsockopt call
Merges https://github.com/espressif/esp-idf/pull/7397
2021-10-05 13:12:01 +08:00
David Cermak
bb0eecee0e
lwip: Fix sntp custom options if sntp_get_system_time used
2021-09-24 14:49:15 +08:00
yuanjm
25a6744ff7
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-18 11:33:36 +08:00
liuhan
8767aa7a4f
lwip: Add CONFIG_LWIP_ICMP and CONFIG_LWIP_ICMP6 to sperate the code
2021-06-25 16:36:11 +08:00
liuhan
424203e411
esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code
2021-06-24 23:20:17 +08:00
David Cermak
c93298c31d
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-06-23 12:52:18 +08:00
liuhan
38db3d9507
lw-ip: Fix LWIP_DEBUG define which is always defined
2021-04-23 18:25:17 +00:00
Angus Gratton
7703fcbd8d
Merge branch 'bugfix/silent_asserts_v4.3' into 'release/v4.3'
...
freertos/lw ip: Support silent assertions (v4.3)
See merge request espressif/esp-idf!13011
2021-04-13 04:30:09 +00:00
yuanjm
4544b709e5
lwip: Fix spelling issues in lwip_debug.c
2021-04-12 05:42:50 +00:00
yuanjm
90696dad89
lwip: Add LWIP_IPV6 macro to strip IPv6 function in LWIP component
2021-04-12 05:42:50 +00:00
Angus Gratton
73d40cb813
lwip: Support silent assertion configuration
...
If silent assert configuration is enabled, LWIP asserts are now 'silent' also.
Also updates KConfig to note that LWIP asserts are also disabled when asserts
are disabled globally (this was already the behaviour, but the config item
suggested otherwise.)
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-04-02 11:03:44 +11:00
xueyunfei
3e26049a05
bugfix for assert when tcp send data
2021-03-31 16:45:45 +08:00
Angus Gratton
f7a8593a3b
Merge branch 'style/python_isort_double_quote_fixer' into 'master'
...
style: format python files with isort and double-quote-string-fixer
See merge request espressif/esp-idf!12149
2021-01-27 12:25:39 +08:00
Chen Wu
8207f6ac32
lwip: Fixed ping assert reset when ping interval is 0
2021-01-26 10:48:56 +00:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
xueyunfei
617ea86672
Add dhcp option 61
2021-01-25 17:48:15 +08:00
xueyunfei
b50fca4aa0
optimization dhcp key state transition message
2021-01-25 03:54:20 +00:00
Angus Gratton
3532f52f60
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master'
...
ldgen: check mappings
Closes IDF-1624
See merge request espressif/esp-idf!8557
2021-01-21 15:59:35 +08:00
Renz Bagaporo
d1c800fbbb
components: fix ldgen check errors
2021-01-19 11:17:18 +08:00
xueyunfei
9dcbec406a
Add feature for dhcp MTU judgement
2021-01-18 14:30:06 +00:00
Angus Gratton
9769be3fde
Merge branch 'bugfix/fix_sign_compare' into 'master'
...
global: fix sign-compare warnings for system level components
See merge request espressif/esp-idf!11252
2021-01-13 12:45:05 +08:00
Krzysztof Budzynski
e277d8ef23
Merge branch 'bugfix/esp_sntp_header' into 'master'
...
docs: Add esp_sntp to API reference as it's default idf header
Closes DOC-854
See merge request espressif/esp-idf!11796
2021-01-13 10:28:39 +08:00
David Čermák
76f6dd6214
lwip: Moved default SNTP API to esp_sntp.h
...
and make sntp.h in port folders of lwip component obsoleted
2021-01-13 10:28:34 +08:00
David Cermak
a807f8e263
lwip: Fixed minor debug print format issue
...
This caused some unsigned int prints out to be printed as singed integer which made the logs unreadable, for example sequence numbers in TCP packet headers
2021-01-12 11:57:49 +00:00
morris
753a929525
global: fix sign-compare warnings
2021-01-12 14:05:08 +08:00
David Cermak
9ffa9cce73
lwip: Add warning to use ESP_IDF_LWIP_HOOK_FILENAME if LWIP_HOOK_FILENAME defined
2021-01-08 14:28:21 +00:00
David Cermak
5993a49352
lwip: Add IDF hook filename to customize lwip hooks
...
LWIP_HOOK_FILENAME is used in IDF to define standard and default hooks for IDF port in LWIP.
Added ESP_IDF_LWIP_HOOK_FILENAME to customize additional hooks in lwip
Closes https://github.com/espressif/esp-idf/issues/6261
2021-01-08 14:28:21 +00:00
Angus Gratton
db4fb49432
esp_common: Fix issue with SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not visible on c3
...
Create a common symbol name to use from linker.lf fragments
2020-12-31 15:20:05 +11:00
ryan kurte
85083ddc3d
lwip: Added debug config options for DHCP and TCP
2020-12-18 16:38:59 +00:00
ryan kurte
5d91a27a1e
lwip: Added KConfig option to control checksum validation on IP/UDP/ICMP
...
This maintains the current default, but could be swapped if desired
Merges https://github.com/espressif/esp-idf/pull/6187
2020-12-18 16:38:59 +00:00
Jiang Jiang Jian
a16d1e8f1a
Merge branch 'fixbug/baidu_tcp_recv_assert' into 'master'
...
lw-ip:fixbug/baidu tcp recv assert
Closes WIFI-2802
See merge request espressif/esp-idf!11287
2020-12-14 16:48:24 +08:00
Sachin Parekh
be5563207d
esp32: Provision to redirect .bss to external ram through linker fragments
...
Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments
libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
2020-12-04 06:32:38 +00:00
Paweł pidpawel Kozubal
cf60ec0ffc
lwip: Added support for configurable LwIP hooks
...
Added lwIP hooks which could be optionally overwritten in the
application code. These three options are provided in Kconfig:
* NONE: No hook support
* DEFAULT: Default implementation is provided. If IDF doesn't
have a specific hook implementation, an empty stub is provided, which
could be overwritten by strong implementation in application code.
* CUSTOM: Hooks are declared only to be implemented in application code.
Merges https://github.com/espressif/esp-idf/pull/6034
2020-11-26 12:02:00 +00:00
xueyunfei
3b6014f5a0
fix bug for tcp recv assert
2020-11-19 12:16:49 +08:00
Angus Gratton
87e13baaf1
freertos: Add RISC-V port
...
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
nx518
9207c6ca8e
lwip: Added description to Kconfig option on IPv6 SLAAC
...
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
2020-11-09 22:10:32 +00:00
ronghulin
ffd23623b7
bugfix: fix TCP timer interval
2020-11-05 15:00:51 +00:00
Angus Gratton
98a0cc783f
test_compile_fuzzers: Fix include paths for host build
...
Regression in 988be69466
, need to add
esp_hw_support component include dir here.
2020-11-05 16:30:07 +11:00
Anton Maklakov
b5b2738644
Merge branch 'test/ci_fuzzer_precheck' into 'master'
...
CI: Add a test to pre-check fuzzer tests compilation before weekly run
See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
Renz Bagaporo
79887fdc6c
soc: descriptive part occupy whole component
2020-10-28 07:21:29 +08:00
David Čermák
e1c3350cec
Merge branch 'feature/lwip_tcp_isn_hook' into 'master'
...
lw-ip: enable TCP ISN hook
See merge request espressif/esp-idf!10854
2020-10-26 20:45:16 +08:00
Jiang Jiang Jian
090dbc5550
Merge branch 'feature/add_ipv6_ping' into 'master'
...
lw-ip:add feature for ipv6 ping
Closes WIFI-2535
See merge request espressif/esp-idf!9530
2020-10-26 15:16:23 +08:00
Jiang Jiang Jian
286ccb203e
Merge branch 'bugfix/fix_TCP_retransmission_interval' into 'master'
...
fix TCP retransmission interval
Closes WIFI-2861
See merge request espressif/esp-idf!10867
2020-10-26 11:25:14 +08:00
Mahavir Jain
58c33f3bdf
lwip: provide configuration option to enable TCP ISN hook
2020-10-23 05:11:33 +00:00
Mahavir Jain
8099dd089d
tcp_isn: use ROM APIs for md5 calculations
2020-10-23 05:11:33 +00:00
Mahavir Jain
b8925ab48b
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-23 05:11:33 +00:00
xueyunfei
79fc027830
lwip:add feature for ipv6 ping
2020-10-22 15:01:59 +08:00
xueyunfei
9ac6d4a1ce
bugfix ipv6 ping error when src ip miss
2020-10-21 20:10:15 +08:00