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 not found in the cache.
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.
Hostname is fresh and usable.
#define PROCESS_NAME(name)
Declare the name of a process.
This hostname is in the process of being resolved.
Some sort of server error was encountered while trying to look up this record.
Hostname was found, but it's status has expired.
Header file for the uIP TCP/IP stack.
const char * resolv_get_hostname(void)
Returns the local hostname being advertised via MDNS.
The server has returned a not-found response for this domain name.
void resolv_query(const char *name)
Queues a name so that a question for the name will be sent out.