David Cermak
5e19b9c951
esp-netif: Make dependency on esp-eth optional
...
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
David Cermak
42ba8a8338
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98
mdns: Add API to control custom network interfaces
2022-03-09 07:33:23 +01:00
David Cermak
bec42ff85d
mdns: Add support for registering custom netif
2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b
mdns: Use predefined interfaces to prepare for custom netifs
2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8
mdns: Prepare for dynamic esp-netif support
2022-03-08 13:39:53 +01:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
David Cermak
b5149e3ee7
mdns: Update to drop our own packet if bounced back
2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525
mdns: Fix potential read behind parsed packet
2022-02-24 11:01:26 +01:00
David Cermak
9cbdb8767b
mdns: Fix memleak when adding delegated host
2022-02-24 11:01:26 +01:00
David Cermak
a57be7b7d1
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
2022-02-24 11:01:13 +01:00
David Čermák
ca7e5b3ef5
Merge branch 'bugfix/mdns_missing_includes' into 'master'
...
mdns: Added missing includes; Removed deprecated event API
See merge request espressif/esp-idf!17190
2022-02-24 09:39:30 +00:00
David Cermak
e46aa515bd
mdns: Remove legacy esp_event API
2022-02-21 07:54:07 +01:00
h2zero
83a4ddbd25
mdns: Clear notification value in mdns_hostname_set
...
Merges https://github.com/espressif/esp-idf/pull/8284
2022-02-18 15:23:25 +04:00
Jakob Hasse
28d09c7dbe
mdns: added missing includes
2022-02-17 16:20:52 +08:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
David Cermak
6aefe9c185
mdns: Use memcpy() for copy to support non-text TXTs
2022-01-24 12:27:26 +01:00
David Cermak
23c2db406d
mdns: Support for null-value TXT records
...
Closes https://github.com/espressif/esp-idf/issues/8267
2022-01-24 12:27:26 +01:00
David Čermák
faf0f61cdb
Merge branch 'bugfix/mdns_txt_alloc_issue' into 'master'
...
mdns: Fix alloc issue if TXT has empty value
See merge request espressif/esp-idf!16888
2022-01-21 18:22:38 +00:00
David Cermak
205f6ba854
mdns: Fix alloc issue if TXT has empty value
2022-01-21 14:18:22 +01:00
David Čermák
af221101db
Merge branch 'bugfix/mdns_service_instance_crash' into 'master'
...
mdns: Fix random crash when defalt service instance queried
Closes IDFGH-6606
See merge request espressif/esp-idf!16850
2022-01-20 08:27:46 +00:00
David Cermak
f46dffca62
mdns: Fix random crash when defalt service instance queried
...
Merges https://github.com/espressif/esp-idf/pull/8248
2022-01-18 17:15:35 +01:00
David Čermák
9fc95216da
Merge branch 'contrib/github_pr_8103' into 'master'
...
mdns: Fix mDNS memory leak
Closes IDFGH-6448
See merge request espressif/esp-idf!16701
2022-01-17 14:56:45 +00:00
David Cermak
fad62cc1ed
mdns: Fix minor memory leaks when creating services
2022-01-17 08:31:16 +01:00
David Cermak
125c312552
mdns: Use multi/uni-cast types in API
2022-01-14 17:12:51 +00:00
David Cermak
7eeeb01ea7
mdns: Allow for unicast PTR queries
...
Adresses https://github.com/espressif/esp-idf/issues/7932
2022-01-14 17:12:51 +00:00
David Cermak
99dd8eedb1
mdns: Fix potential null deref for ANY query type
2022-01-14 17:12:51 +00:00
David Čermák
7d43be9675
Merge branch 'contrib/github_pr_8106' into 'master'
...
Add mDNS miss comment (GitHub PR)
Closes IDFGH-6445
See merge request espressif/esp-idf!16629
2022-01-07 15:58:13 +00:00
David Cermak
c83678f64f
mdns: Fix copyright
2022-01-07 16:16:31 +01:00
Guo Jia Cheng
cfd2d177be
Merge branch 'feature/mdns-always-announce-address' into 'master'
...
mdns: always send A/AAAA records in announcements
See merge request espressif/esp-idf!16254
2021-12-21 04:09:29 +00:00
Guo Jia Cheng
5fdbd40404
Merge branch 'bugfix/mdns-query-instance-filter' into 'master'
...
mdns: filter instance name for ANY queries
See merge request espressif/esp-idf!16255
2021-12-20 10:38:19 +00:00
David Čermák
8caa8195d4
Merge branch 'bugfix/mdns_null_deref_fuzzer' into 'master'
...
mdns: Fix potential null deref reported by fuzzer test
See merge request espressif/esp-idf!16299
2021-12-17 09:37:55 +00:00
caffreyfans
08e081340d
Add mDNS miss comment
2021-12-17 16:39:43 +08:00
caffreyfans
119b4a9dd1
Fix mDNS memory leak
2021-12-17 16:21:21 +08:00
caffreyfans
f5ffd53aeb
Fix mDNS memory leak
2021-12-17 16:05:38 +08:00
David Čermák
e8a4c4b440
Merge branch 'bugfix/mdns_add_result_count_async' into 'master'
...
mdns: Added results count to async API (GitHub PR)
Closes IDFGH-6340
See merge request espressif/esp-idf!16362
2021-12-16 12:48:39 +00:00
zhangwenxu
6173dd7809
mdns: fix mdns server instance mismatch
2021-12-16 16:52:05 +08:00
zhangwenxu
50f6302c5d
mdns: support multiple instance for mdns service txt set
2021-12-14 15:10:25 +08:00
David Cermak
cb5653fd94
mdns: Fix potential null deref reported by fuzzer test
2021-12-07 16:17:53 +01:00
Jiacheng Guo
456f80b754
mdns: always send A/AAAA records in announcements
2021-12-07 11:44:49 +08:00
Jiacheng Guo
5d0c47303d
mdns: filter instance name for ANY queries
...
The instance name in ANY quries was ignored. The MR fixes the issue.
2021-12-03 19:20:14 +08:00
0xFEEDC0DE64
f391d610e8
Added results count to MDNS
2021-12-02 12:33:10 +01:00
Jiacheng Guo
5d3f8157e0
mdns: fix wrong PTR record count
2021-11-10 17:29:09 +08:00
Guo Jia Cheng
a928411ab3
Merge branch 'feature/mdns-subtype' into 'master'
...
mdns: support service subtype
Closes IDFGH-3560
See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
David Cermak
d16f9bade5
mdns: Fix parsing non-standard queries
...
Fix for packets containing unexpected domains, such as openthread.thread.home.arpa.
If we find this packet we set the name entry as invalid, but continue with parsing as the packet might contain related queries for us.
Closes https://github.com/espressif/esp-idf/issues/7694
2021-10-19 16:58:33 +02:00
Jiacheng Guo
e7e8610f56
mdns: support service subtype
...
* Closes https://github.com/espressif/esp-idf/issues/5508
2021-10-19 17:54:17 +08:00
Guo Jia Cheng
1e67cf1ec5
Merge branch 'feature/mdns-multiple-instance' into 'master'
...
mdns: allow mutiple instances with same service type
See merge request espressif/esp-idf!15180
2021-10-11 02:49:16 +00:00
David Cermak
2a2b95b9c2
mdns: Update copyright header
2021-10-06 20:39:18 +08:00
David Cermak
e7dabb14f7
mdns: Fix potential null dereference identified by fuzzer tests
2021-10-06 20:39:18 +08:00