File tree Expand file tree Collapse file tree 4 files changed +169
-627
lines changed
examples/protocols/mdns/main Expand file tree Collapse file tree 4 files changed +169
-627
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,22 @@ extern "C" {
22
22
#define MDNS_TYPE_ANY 0x00FF
23
23
24
24
#define CONFIG_MDNS_IF_MAX 4
25
- #define ACTION_ENABLE 1
26
- #define ACTION_ENABLE_WITH_DHCP_CHECK 2
27
- #define ACTION_ANNOUNCE 3
28
- #define ACTION_ENABLE_ANNOUNCE 4
29
- #define ACTION_DISABLE 5
30
25
31
26
/**
32
27
* @brief Asynchronous query handle
33
28
*/
34
29
typedef struct mdns_search_once_s mdns_search_once_t ;
35
30
31
+
32
+ typedef enum {
33
+ MDNS_EVENT_ENABLE_IP4 = 1 << 1 ,
34
+ MDNS_EVENT_ENABLE_IP6 = 1 << 2 ,
35
+ MDNS_EVENT_ANNOUNCE_IP4 = 1 << 3 ,
36
+ MDNS_EVENT_ANNOUNCE_IP6 = 1 << 4 ,
37
+ MDNS_EVENT_DISABLE_IP4 = 1 << 5 ,
38
+ MDNS_EVENT_DISABLE_IP6 = 1 << 6 ,
39
+ } mdns_event_actions_t ;
40
+
36
41
/**
37
42
* @brief mDNS enum to specify the ip_protocol type
38
43
*/
You can’t perform that action at this time.
0 commit comments