ReactOS 0.4.16-dev-297-gc569aee
|
Macros | |
#define | LWIP_MDNS_RESPONDER 0 |
#define | MDNS_MAX_SERVICES 1 |
#define | MDNS_PROBE_DELAY_MS 250 |
#define | MDNS_MAX_STORED_PKTS 4 |
#define | MDNS_OUTPUT_PACKET_SIZE ((MDNS_MAX_SERVICES == 1) ? 512 : 1450) |
#define | MDNS_RESP_USENETIF_EXTCALLBACK LWIP_NETIF_EXT_STATUS_CALLBACK |
#define | LWIP_MDNS_SEARCH 1 |
#define | MDNS_MAX_REQUESTS 2 |
#define | MDNS_DEBUG LWIP_DBG_OFF |
#define LWIP_MDNS_RESPONDER 0 |
LWIP_MDNS_RESPONDER==1: Turn on multicast DNS module. UDP must be available for MDNS transport. IGMP is needed for IPv4 multicast.
Definition at line 55 of file mdns_opts.h.
#define LWIP_MDNS_SEARCH 1 |
LWIP_MDNS_SEARCH==1: Turn on search over multicast DNS module.
Definition at line 102 of file mdns_opts.h.
#define MDNS_DEBUG LWIP_DBG_OFF |
MDNS_DEBUG: Enable debugging for multicast DNS.
Definition at line 114 of file mdns_opts.h.
#define MDNS_MAX_REQUESTS 2 |
The maximum number of running requests
Definition at line 107 of file mdns_opts.h.
#define MDNS_MAX_SERVICES 1 |
The maximum number of services per netif
Definition at line 60 of file mdns_opts.h.
#define MDNS_MAX_STORED_PKTS 4 |
The maximum number of received packets stored in chained list of known answers for pending truncated questions. This value define the size of the MDNS_PKTS mempool. Up to MDNS_MAX_STORED_PKTS pbuf can be stored in addition to TC questions that are pending.
Definition at line 78 of file mdns_opts.h.
#define MDNS_OUTPUT_PACKET_SIZE ((MDNS_MAX_SERVICES == 1) ? 512 : 1450) |
Payload size allocated for each outgoing UDP packet. Will be allocated with PBUF_RAM and freed after packet was sent. According to RFC 6762, there is no reason to retain the 512 bytes restriction for link-local multicast packet. 512 bytes isn't enough when 2 services need to be probed.
Definition at line 88 of file mdns_opts.h.
#define MDNS_PROBE_DELAY_MS 250 |
The minimum delay between probes in ms. RFC 6762 require 250ms. In noisy WiFi environment, adding 30-50ms to this value help a lot for a successful Apple BCT tests.
Definition at line 68 of file mdns_opts.h.
#define MDNS_RESP_USENETIF_EXTCALLBACK LWIP_NETIF_EXT_STATUS_CALLBACK |
MDNS_RESP_USENETIF_EXTCALLBACK==1: register an ext_callback on the netif to automatically restart probing/announcing on status or address change.
Definition at line 95 of file mdns_opts.h.