Embed: (wiki syntax)

« Back to documentation index

fnet_mdns_params Struct Reference

fnet_mdns_params Struct Reference
[Fnet_mdns]

Initialization parameters for the fnet_mdns_init() function. More...

#include <fnet_mdns.h>

Data Fields

fnet_netif_desc_t netif_desc
 Network interface descriptor to be used 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_uint32_t rr_ttl
 TTL value that indicates for how many seconds mDNS resource records is valid for mDNS querier, in seconds (it is optional).
fnet_uint32_t rr_ttl_ip
 TTL value for IP header that is hop-count limit for the packet (it is optional).
const fnet_char_tname
 Name used as a host-name and service-names, advertised by the MDNS server.

Detailed Description

Initialization parameters for the fnet_mdns_init() function.

Definition at line 60 of file fnet_mdns.h.


Field Documentation

Address family (IPv6 or IPv4 or both) the server will listen for MDNS query (it is optional).


Default value is defined by AF_SUPPORTED.

Definition at line 63 of file fnet_mdns.h.

const fnet_char_t* name

Name used as a host-name and service-names, advertised by the MDNS server.

Definition at line 69 of file fnet_mdns.h.

Network interface descriptor to be used by the MDNS server.

Definition at line 62 of file fnet_mdns.h.

fnet_uint32_t rr_ttl

TTL value that indicates for how many seconds mDNS resource records is valid for mDNS querier, in seconds (it is optional).


Default value is defined by FNET_CFG_MDNS_RR_TTL.

Definition at line 65 of file fnet_mdns.h.

fnet_uint32_t rr_ttl_ip

TTL value for IP header that is hop-count limit for the packet (it is optional).


Default value is defined by FNET_CFG_MDNS_RR_TTL_IP.

Definition at line 67 of file fnet_mdns.h.