Documentation
Includes
lwip/apps/mdns_opts.h
#include "lwip/apps/mdns_opts.h"
lwip/netif.h
#include "lwip/netif.h"
Macros
Marco LWIP_HDR_APPS_MDNS_H
#define LWIP_HDR_APPS_MDNS_H
Marco MDNS_PROBING_CONFLICT
#define MDNS_PROBING_CONFLICT 0
Marco MDNS_PROBING_SUCCESSFUL
#define MDNS_PROBING_SUCCESSFUL 1
Marco MDNS_LABEL_MAXLEN
#define MDNS_LABEL_MAXLEN 63
Marco mdns_resp_netif_settings_changed(netif)
#define mdns_resp_netif_settings_changed(netif) mdns_resp_announce(netif)
Functions
Func mdns_resp_init
void mdns_resp_init(void);
Func mdns_resp_register_name_result_cb
void mdns_resp_register_name_result_cb(mdns_name_result_cb_t cb);
Func mdns_resp_add_netif
err_t mdns_resp_add_netif(struct netif *netif, const char *hostname, u32_t dns_ttl);
Func mdns_resp_remove_netif
err_t mdns_resp_remove_netif(struct netif *netif);
Func mdns_resp_rename_netif
err_t mdns_resp_rename_netif(struct netif *netif, const char *hostname);
Func mdns_resp_add_service
s8_t mdns_resp_add_service(struct netif *netif, const char *name, const char *service, enum mdns_sd_proto proto, u16_t port, u32_t dns_ttl, service_get_txt_fn_t txt_fn, void *txt_userdata);
Func mdns_resp_del_service
err_t mdns_resp_del_service(struct netif *netif, s8_t slot);
Func mdns_resp_rename_service
err_t mdns_resp_rename_service(struct netif *netif, s8_t slot, const char *name);
Func mdns_resp_add_service_txtitem
err_t mdns_resp_add_service_txtitem(struct mdns_service *service, const char *txt, u8_t txt_len);
Func mdns_resp_restart
void mdns_resp_restart(struct netif *netif);
Func mdns_resp_announce
void mdns_resp_announce(struct netif *netif);
Vars
Variable mdns_host
struct mdns_host;
Variable mdns_service
struct mdns_service;
Consts
Types
Typedefs
Typedef service_get_txt_fn_t
typedef void (*service_get_txt_fn_t)(struct mdns_service *service, void *txt_userdata);
Typedef mdns_name_result_cb_t
typedef void (*mdns_name_result_cb_t)(struct netif* netif, u8_t result);