|
lwIP 2.2.1
Lightweight IP stack
|
#include "lwip/apps/mdns.h"#include "lwip/apps/mdns_priv.h"#include "lwip/apps/mdns_domain.h"#include "lwip/apps/mdns_out.h"#include "lwip/netif.h"#include "lwip/udp.h"#include "lwip/ip_addr.h"#include "lwip/mem.h"#include "lwip/memp.h"#include "lwip/prot/dns.h"#include "lwip/prot/iana.h"#include "lwip/timeouts.h"#include "lwip/sys.h"#include <string.h>#include <stdio.h>#include "lwip/igmp.h"#include "lwip/mld6.h"Data Structures | |
| struct | mdns_packet |
Macros | |
| #define | MDNS_RESPONSE_DELAY_MAX 120 |
| #define | MDNS_PROBE_COUNT 3 |
MDNS responder implementation
| #define MDNS_PROBE_COUNT 3 |
Probing & announcing defines
| #define MDNS_RESPONSE_DELAY_MAX 120 |
Delayed response defines
Construction to access the mdns udp pcb.
| void mdns_resp_register_name_result_cb | ( | mdns_name_result_cb_t | cb | ) |
Register a callback function that is called if probing is completed successfully or with a conflict.
Construction to make mdns struct accessible from mdns_out.c TODO: can we add the mdns struct to the netif like we do for dhcp, autoip,...? Then this is not needed any more.
| netif | The network interface |