Contiki 2.6

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.
uip_ipaddr_tresolv_lookup (const char *name)
 Look up a hostname in the array of known hostnames.
uip_ipaddr_tresolv_getserver (void)
 Obtain the currently configured DNS server.
void resolv_conf (const uip_ipaddr_t *dnsserver)
 Configure a DNS server.

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@dunkels.com>

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

Definition in file resolv.c.