mdns: add more mdns result attributes

* Original commit: espressif/esp-idf@76ec76c12c
This commit is contained in:
Jiacheng Guo authored and suren-gabrielyan-espressif committed 2022-05-27 17:44:24 +04:00
1 parent 05dcd8f0ee
commit d37ab6dd25
3 files changed
+75 -33

No files matched your search

+3
View File
@@ -75,10 +75,13 @@ typedef struct mdns_result_s {
struct mdns_result_s * next; /*!< next result, or NULL for the last result in the list */
mdns_if_t tcpip_if; /*!< interface index */
uint32_t ttl; /*!< time to live */
mdns_ip_protocol_t ip_protocol; /*!< ip_protocol type of the interface (v4/v6) */
// PTR
char * instance_name; /*!< instance name */
char * service_type; /*!< service type */
char * proto; /*!< srevice protocol */
// SRV
char * hostname; /*!< hostname */
uint16_t port; /*!< service port */