mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
lwip: support mdns queries
This commit is contained in:
parent
7e3676f307
commit
81cd406683
@ -6,6 +6,14 @@ menu "LWIP"
|
||||
help
|
||||
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
|
||||
bool "Enable copy between Layer2 and Layer3 packets"
|
||||
default n
|
||||
|
@ -549,6 +549,12 @@
|
||||
*/
|
||||
#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
|
||||
* to all local matches if SO_REUSEADDR is turned on.
|
||||
|
Loading…
Reference in New Issue
Block a user