DNS host name to IP address resolver.
More...
#include "net/ipv6/tcpip.h"
#include "net/ipv6/uip-udp-packet.h"
#include "net/ipv6/uip-nameserver.h"
#include "lib/random.h"
#include "resolv.h"
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
#include "sys/log.h"
Go to the source code of this file.
|
|
#define | RESOLV_SUPPORTS_MDNS 0 |
| | 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.
|
| |
| #define | RESOLV_CONF_MAX_RETRIES 4 |
| | The maximum number of retries when asking for a name. More...
|
| |
|
| static void | newdata (void) |
| |
| void | resolv_query (const char *name) |
| | Queues a name so that a question for the name will be sent out. More...
|
| |
| resolv_status_t | resolv_lookup (const char *name, uip_ipaddr_t **ipaddr) |
| | Look up a hostname in the array of known hostnames. More...
|
| |
|
|
process_event_t | resolv_event_found |
| | Event that is broadcasted when a DNS name has been resolved.
|
| |
DNS host name to IP address resolver.
- Author
- Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om
-
Robert Quattlebaum darco.nosp@m.@dee.nosp@m.pdarc.nosp@m..com
This file implements a DNS host name to IP address resolver,
as well as an MDNS responder and resolver.
Definition in file resolv.c.