Embedded TCP/IP stack
4.1.0
|
fnet_mdns.h
173 fnet_mdns_service_desc_t fnet_mdns_service_register(fnet_mdns_desc_t mdns_desc, const fnet_mdns_service_t *service);
211 fnet_mdns_service_desc_t fnet_mdns_service_get_by_type(fnet_mdns_desc_t mdns_desc, const char *service_type);
Initialization parameters for the fnet_mdns_init() function.
Definition: fnet_mdns.h:58
fnet_address_family_t addr_family
Address family (IPv6 or IPv4 or both) the server will listen for MDNS query (it is optional)...
Definition: fnet_mdns.h:61
fnet_mdns_desc_t fnet_mdns_get_by_netif(fnet_netif_desc_t netif)
Looks for a mDNS Server assigned to the specified network interface.
void fnet_mdns_announce(fnet_mdns_desc_t mdns_desc)
Sends unsolicited mDNS announcement.
struct fnet_mdns_service fnet_mdns_service_t
The mDNS Service structure defining application-specific service, advertised by the mDNS server...
fnet_mdns_service_desc_t fnet_mdns_service_register(fnet_mdns_desc_t mdns_desc, const fnet_mdns_service_t *service)
Registers application-specific service in the mDNS server.
fnet_netif_desc_t netif_desc
Network interface descriptor to be used by the mDNS server.
Definition: fnet_mdns.h:60
void fnet_mdns_release(fnet_mdns_desc_t mdns_desc)
Releases the Multicast DNS (mDNS) server/responder.
void fnet_mdns_service_unregister(fnet_mdns_service_desc_t service_desc)
Unregisters application service from the mDNS server.
const char * service_type
Service Type. Null-terminated string. Example "_http._tcp".
Definition: fnet_mdns.h:88
The mDNS Service structure defining application-specific service, advertised by the mDNS server...
Definition: fnet_mdns.h:86
fnet_uint32_t rr_ttl
TTL value that indicates for how many seconds mDNS resource records is valid for mDNS querier...
Definition: fnet_mdns.h:63
fnet_mdns_service_desc_t fnet_mdns_service_get_by_type(fnet_mdns_desc_t mdns_desc, const char *service_type)
Looks for a registered mDNS application service according to the specified type.
const fnet_char_t * name
Name used as a host-name and service-names, advertised by the MDNS server.
Definition: fnet_mdns.h:65
fnet_bool_t fnet_mdns_is_enabled(fnet_mdns_desc_t desc)
Detects if the mDNS Server is enabled or disabled.
fnet_mdns_desc_t fnet_mdns_init(struct fnet_mdns_params *params)
Initializes Multicast DNS (mDNS) server/responder.
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net