mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
lwip: support mdns queries
This commit is contained in:
@@ -6,6 +6,14 @@ menu "LWIP"
|
|||||||
help
|
help
|
||||||
The name this device will report to other devices on the network
|
The name this device will report to other devices on the network
|
||||||
|
|
||||||
|
config LWIP_DNS_SUPPORT_MDNS_QUERIES
|
||||||
|
bool "Enable mDNS queries in resolving host name"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
If this feature is enabled, standard API such as gethostbyname
|
||||||
|
support .local addresses by sending one shot multicast mDNS
|
||||||
|
query
|
||||||
|
|
||||||
config LWIP_L2_TO_L3_COPY
|
config LWIP_L2_TO_L3_COPY
|
||||||
bool "Enable copy between Layer2 and Layer3 packets"
|
bool "Enable copy between Layer2 and Layer3 packets"
|
||||||
default n
|
default n
|
||||||
|
@@ -549,6 +549,12 @@
|
|||||||
*/
|
*/
|
||||||
#define SO_REUSE CONFIG_LWIP_SO_REUSE
|
#define SO_REUSE CONFIG_LWIP_SO_REUSE
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_DNS_SUPPORT_MDNS_QUERIES==1: Enable mDNS queries in hostname resolution.
|
||||||
|
* This option is set via menuconfig.
|
||||||
|
*/
|
||||||
|
#define LWIP_DNS_SUPPORT_MDNS_QUERIES CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES
|
||||||
/**
|
/**
|
||||||
* SO_REUSE_RXTOALL==1: Pass a copy of incoming broadcast/multicast packets
|
* SO_REUSE_RXTOALL==1: Pass a copy of incoming broadcast/multicast packets
|
||||||
* to all local matches if SO_REUSEADDR is turned on.
|
* to all local matches if SO_REUSEADDR is turned on.
|
||||||
|
Reference in New Issue
Block a user