Contiki 2.5
Functions | Variables
resolv.c File Reference

DNS host name to IP address resolver. More...

#include "net/tcpip.h"
#include "net/resolv.h"
#include <string.h>

Go to the source code of this file.

Functions

void resolv_query (const char *name)
 Queues a name so that a question for the name will be sent out. More...
 
uip_ipaddr_tresolv_lookup (const char *name)
 Look up a hostname in the array of known hostnames. More...
 
uip_ipaddr_tresolv_getserver (void)
 Obtain the currently configured DNS server. More...
 
void resolv_conf (const uip_ipaddr_t *dnsserver)
 Configure a DNS server. More...
 

Variables

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

Detailed Description

DNS host name to IP address resolver.

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

This file implements a DNS host name to IP address resolver.

Definition in file resolv.c.