51 #ifndef RESOLV_CONF_SUPPORTS_MDNS 52 #define RESOLV_CONF_SUPPORTS_MDNS (1) 91 typedef uint8_t resolv_status_t;
98 #if RESOLV_CONF_SUPPORTS_MDNS process_event_t resolv_event_found
Event that is broadcasted when a DNS name has been resolved.
static uip_ipaddr_t ipaddr
Pointer to prefix information option in uip_buf.
Hostname was found, but it's status has expired.
Hostname was not found in the cache.
Some sort of server error was encountered while trying to look up this record.
void resolv_set_hostname(const char *hostname)
Changes the local hostname advertised by MDNS.
resolv_status_t resolv_lookup(const char *name, uip_ipaddr_t **ipaddr)
Look up a hostname in the array of known hostnames.
#define PROCESS_NAME(name)
Declare the name of a process.
The server has returned a not-found response for this domain name.
This hostname is in the process of being resolved.
Header file for the uIP TCP/IP stack.
const char * resolv_get_hostname(void)
Returns the local hostname being advertised via MDNS.
Hostname is fresh and usable.
void resolv_query(const char *name)
Queues a name so that a question for the name will be sent out.