29 #if FNET_CFG_MDNS || defined(__DOXYGEN__) 108 #if defined(__cplusplus) 289 #if defined(__cplusplus) const char * service_type
Service Type. Null-terminated string. Example "_http._tcp".
fnet_mdns_desc_t fnet_mdns_get_by_netif(fnet_netif_desc_t netif)
Look for a mDNS Server assigned to the specified network interface.
fnet_netif_desc_t netif_desc
Network interface descriptor to be used by the mDNS server.
The mDNS Service structure defining application-specific service, advertised by the mDNS server...
void fnet_mdns_probe(fnet_mdns_desc_t mdns_desc)
Restart mDNS probing.
void fnet_mdns_announce(fnet_mdns_desc_t mdns_desc)
Send unsolicited mDNS announcement.
const fnet_char_t * name
Name used as a host-name and service-names, advertised by the MDNS server.
fnet_address_family_t addr_family
Address family (IPv6 or IPv4 or both) the server will listen for MDNS query (it is optional)...
fnet_mdns_service_desc_t fnet_mdns_service_register(fnet_mdns_desc_t mdns_desc, const fnet_mdns_service_t *service)
Register application-specific service in the mDNS server.
void fnet_mdns_release(fnet_mdns_desc_t mdns_desc)
Release the Multicast DNS (mDNS) server/responder.
void fnet_mdns_service_unregister(fnet_mdns_service_desc_t service_desc)
Unregister application service from the mDNS server.
fnet_uint32_t rr_ttl
TTL value that indicates for how many seconds mDNS resource record is valid for mDNS querier...
fnet_char_t * key_name
TXT key name string (null-terminated).
void * fnet_mdns_desc_t
mDNS server descriptor.
fnet_mdns_service_desc_t fnet_mdns_service_get_by_type(fnet_mdns_desc_t mdns_desc, const char *service_type)
Look for a registered mDNS application service according to the specified type.
fnet_mdns_desc_t fnet_mdns_init(fnet_mdns_params_t *params)
Initialize Multicast DNS (mDNS) server/responder.
fnet_bool_t fnet_mdns_is_enabled(fnet_mdns_desc_t desc)
Detect if the mDNS Server is enabled or disabled.
char fnet_char_t
Type representing the charecter.
Initialization parameters for the fnet_mdns_init() function.
void * fnet_mdns_service_desc_t
mDNS server descriptor.
fnet_char_t * key_value
TXT key value string (null-terminated).
void * fnet_netif_desc_t
Network interface descriptor.
fnet_uint16_t fnet_address_family_t
Address family type.
fnet_uint16_t service_port
Service Port number (in network byte order).