EVE 1.0
resolv.h File Reference
#include "contiki.h"
#include "uip.h"
Include dependency graph for resolv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RESOLV_CONF_SUPPORTS_MDNS   (1)
 

Enumerations

Variables

CCIF process_event_t resolv_event_found
 

Detailed Description

uIP DNS resolver code header file.

Author
Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om

Definition in file resolv.h.

Macro Definition Documentation

#define RESOLV_CONF_SUPPORTS_MDNS   (1)

If RESOLV_CONF_SUPPORTS_MDNS is set, then queries for domain names in the local TLD will use MDNS and will respond to MDNS queries for this device's hostname, as described by draft-cheshire-dnsext-multicastdns.

Definition at line 51 of file resolv.h.

Enumeration Type Documentation

anonymous enum
Enumerator
RESOLV_STATUS_CACHED 

Hostname is fresh and usable. This response is cached and will eventually expire to RESOLV_STATUS_EXPIRED.

RESOLV_STATUS_UNCACHED 

Hostname was not found in the cache. Use resolv_query() to look it up.

RESOLV_STATUS_EXPIRED 

Hostname was found, but it's status has expired. The address returned should not be used. Use resolv_query() to freshen it up.

RESOLV_STATUS_NOT_FOUND 

The server has returned a not-found response for this domain name. This response is cached for the period described in the server. You may issue a new query at any time using resolv_query(), but you will generally want to wait until this domain's status becomes RESOLV_STATUS_EXPIRED.

RESOLV_STATUS_RESOLVING 

This hostname is in the process of being resolved. Try again soon.

RESOLV_STATUS_ERROR 

Some sort of server error was encountered while trying to look up this record. This response is cached and will eventually expire to RESOLV_STATUS_EXPIRED.

Definition at line 64 of file resolv.h.

Variable Documentation

CCIF process_event_t resolv_event_found

Event that is broadcasted when a DNS name has been resolved.