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