mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 18:27:31 +02:00
mdns: Use predefined interfaces to prepare for custom netifs
* Original commit: espressif/esp-idf@f90b3b798b
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
605d1fab73
commit
fa951bf320
@ -22,17 +22,22 @@ extern "C" {
|
||||
#define MDNS_TYPE_ANY 0x00FF
|
||||
|
||||
#define CONFIG_MDNS_IF_MAX 4
|
||||
#define ACTION_ENABLE 1
|
||||
#define ACTION_ENABLE_WITH_DHCP_CHECK 2
|
||||
#define ACTION_ANNOUNCE 3
|
||||
#define ACTION_ENABLE_ANNOUNCE 4
|
||||
#define ACTION_DISABLE 5
|
||||
|
||||
/**
|
||||
* @brief Asynchronous query handle
|
||||
*/
|
||||
typedef struct mdns_search_once_s mdns_search_once_t;
|
||||
|
||||
|
||||
typedef enum {
|
||||
MDNS_EVENT_ENABLE_IP4 = 1 << 1,
|
||||
MDNS_EVENT_ENABLE_IP6 = 1 << 2,
|
||||
MDNS_EVENT_ANNOUNCE_IP4 = 1 << 3,
|
||||
MDNS_EVENT_ANNOUNCE_IP6 = 1 << 4,
|
||||
MDNS_EVENT_DISABLE_IP4 = 1 << 5,
|
||||
MDNS_EVENT_DISABLE_IP6 = 1 << 6,
|
||||
} mdns_event_actions_t;
|
||||
|
||||
/**
|
||||
* @brief mDNS enum to specify the ip_protocol type
|
||||
*/
|
||||
|
Reference in New Issue
Block a user